Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrApiKeyNotFound = errors.New("api key not found")
)
Functions ¶
func IsApiKeyNotFound ¶ added in v0.18.0
func IsApiKeyNotFound(err error) bool
Types ¶
type ApiKey ¶
type ApiKey struct {
KeyHash string `json:"keyHash"`
Type ApiKeyType `json:"type"`
// Project or client name
Name string `json:"name"`
} // @name ApiKey
type ApiKeyType ¶
type ApiKeyType string
const (
ApiKeyTypeClient ApiKeyType = "client"
ApiKeyTypeProject ApiKeyType = "project"
ApiKeyTypeWorkspace ApiKeyType = "workspace"
)
Click to show internal directories.
Click to hide internal directories.