package
Version:
v0.0.0-...-aeec266
Opens a new window with list of versions in this module.
Published: Jan 5, 2021
License: BSD-3-Clause
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
BlockListItem represents block list item storage entity.
FromBytes deserialize a BlockListItem entiry from its binary representation.
ToBytes converts a BlockListItem entity to its binary representation.
Role represents a user role type.
const (
Unknown Role = iota
Root
Admin
Usr
)
ParseRoleString parses string to Role.
User represents a user storage entity.
FromBytes deserializes a User entity from it's gob binary representation.
ToBytes converts a User entity to it's gob binary representation.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.