service

package
v0.0.0-...-c095e61 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet

Functions

func RegisterService

func RegisterService(ctx context.Context, sev *Service) ginny.RegistrarFunc

RegisterService

Types

type Service

type Service struct {
	pb.UnimplementedSERVICE_NAMEServer
}

Service the instance for grpc proto.

func NewService

func NewService() *Service

NewService new service that implement hello

func (*Service) METHOD_NAME

func (s *Service) METHOD_NAME(ctx context.Context, req *pb.METHOD_REQNAME) (*pb.METHOD_RESNAME, error)

METHOD_NAME implements grpc proto METHOD_NAME Method interface.

Jump to

Keyboard shortcuts

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