zswperms

package
v1.12.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 23, 2022 License: MIT Imports: 1 Imported by: 2

Documentation

Index

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 NewAddZswPerms(sender, user, scope zsw.AccountName, permissions zsw.Uint128) *zsw.Action

func NewRemoveZswPerms

func NewRemoveZswPerms(sender, user, scope zsw.AccountName, permissions zsw.Uint128) *zsw.Action

func NewSetZswPerms

func NewSetZswPerms(sender, user, scope zsw.AccountName, permissions zsw.Uint128) *zsw.Action

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL