Documentation
¶
Index ¶
- Variables
- func NewAddZswPerms(sender, user, scope zsw.AccountName, permissions zsw.Uint128) *zsw.Action
- func NewRemoveZswPerms(sender, user, scope zsw.AccountName, permissions zsw.Uint128) *zsw.Action
- func NewSetZswPerms(sender, user, scope zsw.AccountName, permissions zsw.Uint128) *zsw.Action
- type AddZswPerms
- type RemoveZswPerms
- type SetZswPerms
Constants ¶
This section is empty.
Variables ¶
View Source
var AN = zsw.AN
View Source
var ActN = zsw.ActN
View Source
var PN = zsw.PN
View Source
var ZswPermsAN = AN("zsw.perms")
Functions ¶
func NewAddZswPerms ¶
func NewRemoveZswPerms ¶
func NewSetZswPerms ¶
Types ¶
type AddZswPerms ¶
type AddZswPerms struct { Sender zsw.AccountName `json:"sender"` Scope zsw.AccountName `json:"scope"` User zsw.AccountName `json:"user"` Permissions zsw.Uint128 `json:"perm_bits"` }
type RemoveZswPerms ¶
type RemoveZswPerms struct { Sender zsw.AccountName `json:"sender"` Scope zsw.AccountName `json:"scope"` User zsw.AccountName `json:"user"` Permissions zsw.Uint128 `json:"perm_bits"` }
type SetZswPerms ¶
type SetZswPerms struct { Sender zsw.AccountName `json:"sender"` Scope zsw.AccountName `json:"scope"` User zsw.AccountName `json:"user"` Permissions zsw.Uint128 `json:"perm_bits"` }
Click to show internal directories.
Click to hide internal directories.