Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalid = errors.New("invalid type")
)
Functions ¶
This section is empty.
Types ¶
type Type ¶
type Type uint32
const ( RT_CONFIG Type = 1 RT_LOCK Type = 2 RT_STATE Type = 3 RT_PACKFILE Type = 4 RT_SNAPSHOT Type = 5 RT_SIGNATURE Type = 6 RT_OBJECT Type = 7 // Type = 8 - unused, can't be used RT_CHUNK Type = 9 RT_VFS_BTREE Type = 10 RT_VFS_NODE Type = 11 RT_VFS_ENTRY Type = 12 RT_ERROR_BTREE Type = 13 RT_ERROR_NODE Type = 14 RT_ERROR_ENTRY Type = 15 RT_XATTR_BTREE Type = 16 RT_XATTR_NODE Type = 17 RT_XATTR_ENTRY Type = 18 RT_BTREE_ROOT Type = 19 RT_BTREE_NODE Type = 20 // Type is a uint32 but we can't set it a value > 255 as state v1 // assume it's a uint8 RT_RANDOM Type = 255 )
func FromString ¶ added in v1.0.3
Click to show internal directories.
Click to hide internal directories.