Documentation
¶
Index ¶
Constants ¶
View Source
const (
RestID = "id"
)
Rest variable names nolint
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateIdentityReq ¶
type CreateIdentityReq struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` ID string `json:"id" yaml:"id"` PubKey string `json:"pubkey" yaml:"pubkey"` PubKeyAlgo string `json:"pubkey_algo" yaml:"pubkey_algo"` Certificate string `json:"certificate" yaml:"certificate"` Credentials string `json:"credentials" yaml:"credentials"` Data string `json:"data" yaml:"data"` Owner sdk.AccAddress `json:"owner" yaml:"owner"` }
CreateIdentityReq defines the properties of an identity creation request's body.
type UpdateIdentityReq ¶
type UpdateIdentityReq struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` PubKey string `json:"pubkey" yaml:"pubkey"` PubKeyAlgo string `json:"pubkey_algo" yaml:"pubkey_algo"` Certificate string `json:"certificate" yaml:"certificate"` Credentials string `json:"credentials" yaml:"credentials"` Data string `json:"data" yaml:"data"` Owner sdk.AccAddress `json:"owner" yaml:"owner"` }
UpdateIdentityReq defines the properties of an identity update request's body.
Click to show internal directories.
Click to hide internal directories.