Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ObjectIDToString ¶
func SessionIDToString ¶
func SignatureToString ¶
Types ¶
type InstanceID ¶
type InstanceID = uint64
func UnspecifiedInstanceID ¶
func UnspecifiedInstanceID() InstanceID
type Number ¶
type Number interface { constraints.Integer | constraints.Float }
type ObjectID ¶
type ObjectID = uint64
func EmptyBlobID ¶
func EmptyBlobID() ObjectID
func GenerateObjectID ¶
func GenerateObjectID() ObjectID
func InvalidObjectID ¶
func InvalidObjectID() ObjectID
func ObjectIDFromString ¶
type Payload ¶
type Payload struct { ID ObjectID `json:"object_id"` StoreFd int `json:"store_fd"` ArenaFd int `json:"-"` DataOffset uint64 `json:"data_offset"` DataSize uint64 `json:"data_size"` MapSize uint64 `json:"map_size"` Pointer *uint64 `json:"-"` Owing bool `json:"is_owner"` Sealed bool `json:"is_sealed"` GPU bool `json:"is_gpu"` }
type SessionID ¶
type SessionID = uint64
func RootSessionID ¶
func RootSessionID() SessionID
func SessionIDFromString ¶
Click to show internal directories.
Click to hide internal directories.