Documentation ¶ Index ¶ func AllNodeTypeNames() []string type FilePerm func FilePermFrom(mode os.FileMode) FilePerm type NodeType func NodeTypeFromString(name string) NodeType func (t NodeType) String() string type Perm func (p Perm) AnyPermission() bool func (p Perm) IsFullPermission() bool Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func AllNodeTypeNames ¶ func AllNodeTypeNames() []string Types ¶ type FilePerm ¶ type FilePerm struct { User Perm Group Perm Other Perm } func FilePermFrom ¶ func FilePermFrom(mode os.FileMode) FilePerm type NodeType ¶ type NodeType int8 const ( UnspecifiedNodeType NodeType = iota ValidatorNode RpcNode SnapshotNode ArchivalNode ) func NodeTypeFromString ¶ func NodeTypeFromString(name string) NodeType func (NodeType) String ¶ func (t NodeType) String() string type Perm ¶ type Perm struct { Read bool Write bool Exec bool } func (Perm) AnyPermission ¶ func (p Perm) AnyPermission() bool func (Perm) IsFullPermission ¶ func (p Perm) IsFullPermission() bool Source Files ¶ View all Source files file_perm.gonode_type.go Click to show internal directories. Click to hide internal directories.