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
Types ¶
type ApiKey ¶
type ApiKey struct { KeyHash string `json:"keyHash" validate:"required"` Type ApiKeyType `json:"type" validate:"required"` // Project or client name Name string `json:"name" validate:"required"` } // @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.