template

package
v0.5.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Api

type Api struct {
	Name      []byte
	VarList   []protocol.VarType
	ReturnVar []protocol.VarType
}

Api is Class's api list node Need define with user

type Class

type Class interface {
	Object
	Do([]byte, *queue.Manager[any]) any
	ApiList() []Api
	Name() []byte
}

type Func added in v0.4.10

type Func func(*queue.Manager[any]) any

func (Func) IsNil added in v0.4.10

func (f Func) IsNil() bool

type NewNode

type NewNode func(*queue.Manager[any]) (Node, *qerror.Error)

func (NewNode) IsNil added in v0.2.0

func (m NewNode) IsNil() bool

type Node

type Node interface {
	Object
	Type() []byte
	Serialize() []byte
	Deseriallize([]byte) *qerror.Error
}

type Object added in v0.2.0

type Object interface {
	IsNil() bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL