Documentation ¶
Index ¶
- func LoadCA(caCertFile string) (*x509.CertPool, error)
- func LoadCert(certFile string, keyFile string) (*tls.Certificate, error)
- func LoadPublicKey(file string) (interface{}, error)
- func LoadYaml(path string, v interface{}) error
- func StringToUuid(s string) uuid.UUID
- func UuidToString(u uuid.UUID) string
- type AtomicBool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadPublicKey ¶
func StringToUuid ¶
func UuidToString ¶
Types ¶
type AtomicBool ¶
type AtomicBool struct {
// contains filtered or unexported fields
}
func (*AtomicBool) CompareAndSwap ¶
func (b *AtomicBool) CompareAndSwap(old, new bool) bool
func (*AtomicBool) Get ¶
func (b *AtomicBool) Get() bool
func (*AtomicBool) Set ¶
func (b *AtomicBool) Set(value bool)
Click to show internal directories.
Click to hide internal directories.