Documentation
¶
Index ¶
- func Attach(mux goahttp.Muxer, service *Service)
- type Service
- func (s *Service) APIKeyAuth(ctx context.Context, key string, schema *security.APIKeyScheme) (context.Context, error)
- func (s *Service) CreateKey(ctx context.Context, payload *gen.CreateKeyPayload) (*gen.Key, error)
- func (s *Service) ListKeys(ctx context.Context, payload *gen.ListKeysPayload) (*gen.ListKeysResult, error)
- func (s *Service) RevokeKey(ctx context.Context, payload *gen.RevokeKeyPayload) error
- func (s *Service) VerifyKey(ctx context.Context, payload *gen.VerifyKeyPayload) (*gen.ValidateKeyResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func (*Service) APIKeyAuth ¶
func (*Service) ListKeys ¶
func (s *Service) ListKeys(ctx context.Context, payload *gen.ListKeysPayload) (*gen.ListKeysResult, error)
func (*Service) VerifyKey ¶
func (s *Service) VerifyKey( ctx context.Context, payload *gen.VerifyKeyPayload, ) (*gen.ValidateKeyResult, error)
Click to show internal directories.
Click to hide internal directories.