module

package
v0.0.0-...-97e32fc Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handlers

type Handlers struct {
	SayHello func(name string) (string, error)
}

func (Handlers) Register

func (h Handlers) Register()

type Host

type Host struct {
	// contains filtered or unexported fields
}

func NewHost

func NewHost(binding string) *Host

func (*Host) SayHello

func (h *Host) SayHello(name string) (string, error)

type SayHelloArgs

type SayHelloArgs struct {
	Name string
}

func DecodeSayHelloArgs

func DecodeSayHelloArgs(decoder *msgpack.Decoder) (SayHelloArgs, error)

func DecodeSayHelloArgsNullable

func DecodeSayHelloArgsNullable(decoder *msgpack.Decoder) (*SayHelloArgs, error)

func (*SayHelloArgs) Decode

func (o *SayHelloArgs) Decode(decoder *msgpack.Decoder) error

func (*SayHelloArgs) Encode

func (o *SayHelloArgs) Encode(encoder msgpack.Writer) error

Jump to

Keyboard shortcuts

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