Documentation ¶
Index ¶
Constants ¶
View Source
const ( ScName = "helloworld" ScDescription = "The ubiquitous hello world demo" HScName = wasmlib.ScHname(0x0683223c) )
View Source
const ( FuncHelloWorld = "helloWorld" ViewGetHelloWorld = "getHelloWorld" )
View Source
const ( HFuncHelloWorld = wasmlib.ScHname(0x9d042e65) HViewGetHelloWorld = wasmlib.ScHname(0x210439ce) )
View Source
const IdxResultHelloWorld = 0
View Source
const ResultHelloWorld = wasmlib.Key("helloWorld")
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Funcs ¶
type Funcs struct{}
var ScFuncs Funcs
func (Funcs) GetHelloWorld ¶
func (sc Funcs) GetHelloWorld(ctx wasmlib.ScViewCallContext) *GetHelloWorldCall
func (Funcs) HelloWorld ¶
func (sc Funcs) HelloWorld(ctx wasmlib.ScFuncCallContext) *HelloWorldCall
type GetHelloWorldCall ¶
type GetHelloWorldCall struct { Func *wasmlib.ScView Results ImmutableGetHelloWorldResults }
type GetHelloWorldContext ¶
type GetHelloWorldContext struct { Results MutableGetHelloWorldResults State ImmutableHelloWorldState }
type HelloWorldCall ¶
type HelloWorldContext ¶
type HelloWorldContext struct {
State MutableHelloWorldState
}
type ImmutableGetHelloWorldResults ¶
type ImmutableGetHelloWorldResults struct {
// contains filtered or unexported fields
}
func (ImmutableGetHelloWorldResults) HelloWorld ¶
func (s ImmutableGetHelloWorldResults) HelloWorld() wasmlib.ScImmutableString
type ImmutableHelloWorldState ¶
type ImmutableHelloWorldState struct {
// contains filtered or unexported fields
}
type MutableGetHelloWorldResults ¶
type MutableGetHelloWorldResults struct {
// contains filtered or unexported fields
}
func (MutableGetHelloWorldResults) HelloWorld ¶
func (s MutableGetHelloWorldResults) HelloWorld() wasmlib.ScMutableString
type MutableHelloWorldState ¶
type MutableHelloWorldState struct {
// contains filtered or unexported fields
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.