service

package
v0.0.0-...-48eaceb Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2023 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 Args

type Args struct {
	A int `json:"a"`
	B int `json:"b"`
}

func (*Args) String

func (a *Args) String() string

type Arith

type Arith int

func (*Arith) Add

func (t *Arith) Add(args *Args, reply *Reply) error

func (*Arith) Div

func (t *Arith) Div(args *Args, reply *Reply) error

func (*Arith) Mul

func (t *Arith) Mul(args *Args, reply *Reply) error

type Reply

type Reply struct {
	C int `json:"c"`
}

func (*Reply) String

func (r *Reply) String() string

Jump to

Keyboard shortcuts

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