Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authorizer ¶
Authorizer is a kind of Modifier used to authorize the requests
type SecretAuthorizer ¶
type SecretAuthorizer struct {
// contains filtered or unexported fields
}
SecretAuthorizer authorizes the requests with the specified secret
func NewSecretAuthorizer ¶
func NewSecretAuthorizer(secret string) *SecretAuthorizer
NewSecretAuthorizer returns an instance of SecretAuthorizer
Click to show internal directories.
Click to hide internal directories.