package
Version:
v0.0.0-...-c4b491b
Opens a new window with list of versions in this module.
Published: Aug 1, 2021
License: GPL-3.0, GPL-3.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type AccountInfo struct {
Snaps map[string]map[string]Snap `json:"snaps"`
AccountKeys []Key `json:"account_keys"`
AccountId string `json:"account_id"`
}
type DischargeMacaroon struct {
DischargeMacaroon string `json:"discharge_macaroon"`
}
type Key struct {
PublicKeySHA384 string `json:"public-key-sha3-384"`
Name string `json:"name"`
}
type Macaroon struct {
Macaroon string `json:"macaroon"`
}
type RegisterSnap struct {
Id string `json:"snap_id"`
Name string `json:"snap_name"`
}
type Snap struct {
Status string `json:"status"`
SnapId string `json:"snap-id"`
Store string `json:"store"`
Since string `json:"since"`
Private bool `json:"private"`
Price string `json:"price"`
}
type SnapRelease struct {
Success bool
}
type Status struct {
Processed bool `json:"processed"`
Code string `json:"code"`
Revision int `json:"revision"`
}
type Verify struct {
Allowed bool `json:"allowed"`
DeviceRefreshRequired bool `json:"device_refresh_required"`
RefreshRequired bool `json:"refresh_required"`
Account *VerifyAccount `json:"account,omitempty"`
Device *string `json:"device"`
LastAuth string `json:"last_auth"`
Permissions *[]string `json:"permissions"`
SnapIds *string `json:"snap_ids"`
Channels *string `json:"channels"`
}
type VerifyAccount struct {
Email string `json:"email"`
DisplayName string `json:"displayname"`
OpenId string `json:"openid"`
Verified bool `json:"verified"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.