snatives

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PermArgs

type PermArgs struct {
	PermFlag   types.PermFlag
	Address    *acm.Address    `json:",omitempty"`
	Permission *types.PermFlag `json:",omitempty"`
	Role       *string         `json:",omitempty"`
	Value      *bool           `json:",omitempty"`
}

func AddRoleArgs

func AddRoleArgs(address acm.Address, role string) PermArgs

func HasBaseArgs

func HasBaseArgs(address acm.Address, permFlag types.PermFlag) PermArgs

func HasRoleArgs

func HasRoleArgs(address acm.Address, role string) PermArgs

func RemoveRoleArgs

func RemoveRoleArgs(address acm.Address, role string) PermArgs

func SetBaseArgs

func SetBaseArgs(address acm.Address, permFlag types.PermFlag, value bool) PermArgs

func SetGlobalArgs

func SetGlobalArgs(permFlag types.PermFlag, value bool) PermArgs

func UnsetBaseArgs

func UnsetBaseArgs(address acm.Address, permFlag types.PermFlag) PermArgs

func (PermArgs) EnsureValid

func (pa PermArgs) EnsureValid() error

func (PermArgs) String

func (pa PermArgs) String() string

Jump to

Keyboard shortcuts

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