server

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GreetServer

type GreetServer struct {
	hi.UnimplementedGreetServer
	// contains filtered or unexported fields
}

func NewGreetServer

func NewGreetServer(svcCtx *svc.ServiceContext) *GreetServer

func (*GreetServer) SayHello

func (s *GreetServer) SayHello(ctx context.Context, in *hi.HelloReq) (*hi.HelloResp, error)

func (*GreetServer) SayHi

func (s *GreetServer) SayHi(ctx context.Context, in *hi.HiReq) (*hi.HiResp, error)

Jump to

Keyboard shortcuts

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