NewServer sets up a new server target. The address should be of The format [protocol:]name[:port] of the remote CFSSL instance. If no protocol is given http is default. If no port is specified, the CFSSL default port (8888) is used. If the name is a comma-separated list of hosts, an ordered group wi
(addr string)
| 52 | // is specified, the CFSSL default port (8888) is used. If the name is |
| 53 | // a comma-separated list of hosts, an ordered group will be returned. |
| 54 | func NewServer(addr string) Remote { |
| 55 | return NewServerTLS(addr, nil) |
| 56 | } |
| 57 | |
| 58 | // NewServerTLS is the TLS version of NewServer |
| 59 | func NewServerTLS(addr string, tlsConfig *tls.Config) Remote { |
searching dependent graphs…