Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateSecureToken ¶
Types ¶
type Service ¶
type Service interface { Get(ctx context.Context, key string) (*domain.APIKey, error) List(ctx context.Context) ([]domain.APIKey, error) Store(ctx context.Context, key *domain.APIKey) error Update(ctx context.Context, key *domain.APIKey) error Delete(ctx context.Context, key string) error ValidateAPIKey(ctx context.Context, token string) bool }
Click to show internal directories.
Click to hide internal directories.