Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultExpireTimeInterval = time.Second * 120
Variables ¶
This section is empty.
Functions ¶
func NewDefaultApuAuthenticator ¶
func NewDefaultApuAuthenticator() *defaultApuAuthenticator
Types ¶
type ApiAuthenticator ¶
type ApiRequest ¶
type ApiRequest struct {
// contains filtered or unexported fields
}
func NewApiRequest ¶
func NewApiRequest(token, metadata string, pubKey []byte) *ApiRequest
func NewApiRequestFromSig ¶
func NewApiRequestFromSig(sig string) (*ApiRequest, error)
Click to show internal directories.
Click to hide internal directories.