Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credentials ¶
type ListPasswordsInput ¶
type ListPasswordsInput struct {
Token string
Title string
Notes string
Tags []string
Username string
AdminID string
}
ListPasswordsInput input parameters for listing passwords
type ListPasswordsOutput ¶
type ListPasswordsOutput struct {
Items []Password `json:"data"`
Metadata Metadata `json:"links"`
Token string `json:"token"`
}
ListPasswordsOutput list passwords output
type Metadata ¶
type Metadata struct {
Count int `json:"count"`
Size int `json:"size"`
Next string `json:"next"`
Prev string `json:"prev"`
}
Metadata meta data in search list
type Password ¶
type Password struct {
ID string `json:"-"`
Title string `json:"title"`
URL string `json:"url"`
Username string `json:"username"`
Password string `json:"password"`
Notes string `json:"notes"`
Tags []string `json:"tags"`
AdminID string `json:"-"`
}
Password password record in search list
func (*Password) MarshalJSON ¶
MarshalJSON marshals json
func (*Password) UnmarshalJSON ¶
UnmarshalJSON unmarshals json
type PasswordInput ¶
type PasswordInput struct {
Data Password `json:"data"`
}
PasswordInput password input json
type PasswordOutput ¶
type PasswordOutput struct {
Data Password `json:"data"`
}
PasswordOutput password output json
type RefreshToken ¶
Click to show internal directories.
Click to hide internal directories.