Documentation
¶
Index ¶
Constants ¶
View Source
const ( // TLSCertKey is the key for tls certificates in a TLS secert. TLSCertKey = "tls.crt" // TLSPrivateKeyKey is the key for the private key field in a TLS secret. TLSPrivateKeyKey = "tls.key" )
Variables ¶
View Source
var ( DefaultTransport *http.Transport = &http.Transport{ Dial: (&net.Dialer{ Timeout: 5 * time.Second, KeepAlive: 20 * time.Second, }).Dial, } // just like https://apollo.com/configfiles/json/apolloId/default ApolloUrl = utils.EnvDefault("ApolloUrl", "") )
Functions ¶
Types ¶
type ApplySecret ¶
type ApplySecret struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.