Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var KeyPath string
Functions ¶
func ParsePrivateKey ¶
func ParsePrivateKey(keyBuffer []byte) (*rsa.PrivateKey, error)
Types ¶
type CommonClaims ¶
type CommonClaims struct { Message string `json:"message"` jwt.RegisteredClaims }
type KeyKeeper ¶
type KeyKeeper struct {
// contains filtered or unexported fields
}
func (*KeyKeeper) GetPrivateKey ¶
func (k *KeyKeeper) GetPrivateKey() (*rsa.PrivateKey, error)
Click to show internal directories.
Click to hide internal directories.