Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthKey ¶
type AuthKey struct { ID int `json:"id"` AccessKey string `json:"access_key"` SecretKey string `json:"secret_key"` UserUUID string `json:"user_uuid"` }
AuthKey contains API Key base user auth info
type PathPermission ¶
type Payload ¶
type Payload struct { AccessKey string `json:"access_key"` Nonce string `json:"nonce"` QueryHash string `json:"query_hash"` }
Payload is information part of JWT(JWS) token
func NewPayload ¶
NewPayload creates a new payload with given arguments
Click to show internal directories.
Click to hide internal directories.