service

package
v0.0.0-...-a7b145a Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2022 License: BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(NewEchoService)

ProviderSet provided NewEchoService.

Functions

This section is empty.

Types

type EchoService

type EchoService struct {
	v1.UnimplementedEchoServiceServer
	// contains filtered or unexported fields
}

EchoService implements grpc/http server.

func InitService

func InitService(ctx context.Context, conf2 *conf.Bootstrap) (*EchoService, error)

func NewEchoService

func NewEchoService(ctx context.Context, uc *biz.EchoCase) *EchoService

NewEchoService creates a new EchoService.

func (*EchoService) CreateEcho

func (*EchoService) DeleteEcho

func (*EchoService) GetEcho

func (s *EchoService) GetEcho(ctx context.Context, req *v1.GetEchoRequest) (*v1.EchoRecord, error)

func (*EchoService) ListEcho

func (*EchoService) UpdateEcho

Jump to

Keyboard shortcuts

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