Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Role ¶
type Role uint
Role is a peer's role.
func (Role) MarshalJSON ¶
MarshalJSON marshals the Role to JSON string.
func (*Role) UnmarshalJSON ¶
UnmarshalJSON unmarshals the Role from JSON string.
Click to show internal directories.
Click to hide internal directories.