greeter

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Greeter

type Greeter struct {
	v1.UnimplementedHelloServer
}

Greeter implement v1.HelloServer and v1.HelloHTTPHandler at same time

func (*Greeter) Add

func (g *Greeter) Add(ctx context.Context, in *v1.AddRequest) (*v1.AddResponse, error)

func (*Greeter) Get

func (g *Greeter) Get(ctx context.Context, in *v1.GetRequest) (*v1.GetResponse, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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