Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthService ¶
type AuthService struct {
APIKeys []string
}
func NewService ¶
func NewService(keys []string) *AuthService
func (*AuthService) Authenticate ¶
func (a *AuthService) Authenticate(r *http.Request) error
Click to show internal directories.
Click to hide internal directories.