Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidKey = errors.New("not a valid api key")
Functions ¶
This section is empty.
Types ¶
type ApiKeyMetaData ¶
type Gateway ¶
type Gateway interface {
ValidateApiKey(ctx context.Context) (*ApiKeyMetaData, error)
}
func NewAdapter ¶
func NewAdapter(client restclient.RestClient, env types.Environment) Gateway
type InternalServerError ¶
func (*InternalServerError) Error ¶
func (e *InternalServerError) Error() string
func (*InternalServerError) Unwrap ¶
func (e *InternalServerError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.