Documentation ¶
Index ¶
- Variables
- func Exists(absPath string) bool
- func ListDirectory(absPath string, ascending bool) ([]string, error)
- func NotExists(absPath string) bool
- func NotifyServiceReady()
- func NotifyServiceStopping()
- func ReadFileFully(absPath string) ([]byte, error)
- func TokenPath(root, tenant, value string) string
- func TokensPath(root, tenant string) string
- type LogFormat
Constants ¶
This section is empty.
Variables ¶
View Source
var CipherSuites = []uint16{ tls.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, tls.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, tls.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256, tls.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, tls.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, tls.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256, tls.TLS_RSA_WITH_AES_128_GCM_SHA256, tls.TLS_RSA_WITH_AES_128_CBC_SHA256, tls.TLS_RSA_WITH_AES_128_CBC_SHA, tls.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, tls.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, tls.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305, tls.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305, tls.TLS_RSA_WITH_AES_256_GCM_SHA384, }
CipherSuites list of trusted tls cipher suites
JSON fascade for abstraction of json marshalling and unmarhalling
Functions ¶
func ListDirectory ¶
ListDirectory returns sorted slice of item names in given absolute path default sorting is ascending
func NotifyServiceReady ¶
func NotifyServiceReady()
NotifyServiceReady notify underlying os that service is ready
func NotifyServiceStopping ¶
func NotifyServiceStopping()
NotifyServiceStopping notify underlying os that service is stopping
func ReadFileFully ¶
ReadFileFully reads whole file given absolute path
func TokensPath ¶
TokensPath returns filepath of tokens for given tenant
Types ¶
Click to show internal directories.
Click to hide internal directories.