Documentation
¶
Index ¶
- type PermStorage
- func (p *PermStorage) Clear(perm string)
- func (p *PermStorage) Dump() []string
- func (p *PermStorage) Has(perm string) bool
- func (p *PermStorage) MarshalJSON() ([]byte, error)
- func (p *PermStorage) MarshalYAML() (interface{}, error)
- func (p *PermStorage) OneOf(o *PermStorage) bool
- func (p *PermStorage) Search(v string) []string
- func (p *PermStorage) Set(perm string)
- func (p *PermStorage) UnmarshalJSON(bytes []byte) error
- func (p *PermStorage) UnmarshalYAML(value *yaml.Node) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PermStorage ¶
type PermStorage struct {
// contains filtered or unexported fields
}
func NewPermStorage ¶
func NewPermStorage() *PermStorage
func (*PermStorage) Clear ¶
func (p *PermStorage) Clear(perm string)
func (*PermStorage) Dump ¶
func (p *PermStorage) Dump() []string
func (*PermStorage) Has ¶
func (p *PermStorage) Has(perm string) bool
func (*PermStorage) MarshalJSON ¶
func (p *PermStorage) MarshalJSON() ([]byte, error)
func (*PermStorage) MarshalYAML ¶
func (p *PermStorage) MarshalYAML() (interface{}, error)
func (*PermStorage) OneOf ¶
func (p *PermStorage) OneOf(o *PermStorage) bool
func (*PermStorage) Search ¶
func (p *PermStorage) Search(v string) []string
func (*PermStorage) Set ¶
func (p *PermStorage) Set(perm string)
func (*PermStorage) UnmarshalJSON ¶
func (p *PermStorage) UnmarshalJSON(bytes []byte) error
func (*PermStorage) UnmarshalYAML ¶
func (p *PermStorage) UnmarshalYAML(value *yaml.Node) error
Click to show internal directories.
Click to hide internal directories.