Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewListCmd ¶
NewListCmd creates and returns a list command for API Keys.
Types ¶
type JSONKey ¶ added in v1.3.0
type JSONKey struct { ACL []string `json:"acl"` CreatedAt time.Time `json:"createdAt"` Description string `json:"description"` Indexes []string `json:"indexes"` MaxQueriesPerIPPerHour int `json:"maxQueriesPerIPPerHour"` MaxHitsPerQuery int `json:"maxHitsPerQuery"` Referers []string `json:"referers"` QueryParameters search.KeyQueryParams `json:"queryParameters"` Validity time.Duration `json:"validity"` Value string `json:"value"` }
JSONKey is the same as search.Key without omitting values
Click to show internal directories.
Click to hide internal directories.