Documentation
¶
Index ¶
- Constants
- func CreateCAPool(CAPath string) (*x509.CertPool, error)
- func DecodeB64(message string) (string, error)
- func InsertNth(s string, n int) string
- func ParseKeycloakPublicKey(data []byte) (*rsa.PublicKey, error)
- func ToHexInt(n *big.Int) string
- type CustomLogger
- type StandardGoKitLogToGoLogAdapter
Constants ¶
View Source
const ( PublicKeyHeader = "-----BEGIN PUBLIC KEY-----" )
View Source
const (
LamassuLoggerContextKey contextKey = "LamassuLogger"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CustomLogger ¶
type CustomLogger struct {
// contains filtered or unexported fields
}
func (*CustomLogger) Printf ¶
func (l *CustomLogger) Printf(format string, v ...interface{})
func (*CustomLogger) Verbose ¶
func (l *CustomLogger) Verbose() bool
type StandardGoKitLogToGoLogAdapter ¶
type StandardGoKitLogToGoLogAdapter interface { Printf(format string, v ...interface{}) Verbose() bool }
func NewGoKitLogToGoLogAdapter ¶
func NewGoKitLogToGoLogAdapter(logger log.Logger) StandardGoKitLogToGoLogAdapter
Click to show internal directories.
Click to hide internal directories.