rpcService

package
v0.0.0-...-4d5c92d Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package example defines datastructure and services.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	A int
	B int
}

type Arith

type Arith int

func (*Arith) Add

func (t *Arith) Add(ctx context.Context, args *Args, reply *Reply) error

func (*Arith) Mul

func (t *Arith) Mul(ctx context.Context, args *Args, reply *Reply) error

func (*Arith) Say

func (t *Arith) Say(ctx context.Context, args *string, reply *string) error

type Reply

type Reply struct {
	C int
}

Jump to

Keyboard shortcuts

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