api

package
v0.0.0-...-f677d32 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2020 License: Apache-2.0 Imports: 3 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Home

func Home(ctx erpc.CallCtx, arg *args.EmptyStruct) (*args.HomeResult, *erpc.Status)

Home handler

func Route

func Route(_root string, _router *erpc.Router)

Route registers handlers to router.

func Stat

func Stat(ctx erpc.PushCtx, arg *args.StatArg) *erpc.Status

Stat handler

Types

type Math

type Math struct {
	erpc.CallCtx
}

Math controller

func (*Math) Divide

func (m *Math) Divide(arg *args.DivideArg) (*args.DivideResult, *erpc.Status)

Divide handler

Jump to

Keyboard shortcuts

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