Documentation ¶
Index ¶
Constants ¶
View Source
const ( ScaleDownError errors.Code = iota + errorBase InvalidUUIDError InvalidAppTypeError )
View Source
const (
JavaEE = "javaee"
)
View Source
const (
ModuleName = "eeproxy"
)
View Source
const (
PythonEE = "pyee"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallContext ¶
type CallContext interface { GetValue(key []byte) ([]byte, error) SetValue(key []byte, value []byte) ([]byte, error) DeleteValue(key []byte) ([]byte, error) GetInfo() *codec.TypedObj GetBalance(addr module.Address) *big.Int OnEvent(addr module.Address, indexed, data [][]byte) OnResult(status error, steps *big.Int, result *codec.TypedObj) OnCall(from, to module.Address, value, limit *big.Int, method string, params *codec.TypedObj) OnAPI(status error, info *scoreapi.Info) SetCode(code []byte) error GetObjGraph(bool) (int, []byte, []byte, error) SetObjGraph(flags bool, nextHash int, objGraph []byte) error Logger() log.Logger }
type Engine ¶
type InstanceStatus ¶
type InstanceStatus int
func (InstanceStatus) String ¶
func (s InstanceStatus) String() string
type Manager ¶
type Proxy ¶
type Proxy interface { Invoke(ctx CallContext, code string, isQuery bool, from, to module.Address, value, limit *big.Int, method string, params *codec.TypedObj, eid int, state *CodeState) error SendResult(ctx CallContext, status error, steps *big.Int, result *codec.TypedObj, eid int, last int) error GetAPI(ctx CallContext, code string) error Release() Kill() error }
type RequestPriority ¶
type RequestPriority int
const ( ForTransaction RequestPriority = iota ForQuery )
Click to show internal directories.
Click to hide internal directories.