service

package
v0.0.0-...-c30b888 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2024 License: MIT Imports: 11 Imported by: 0

README

Service

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is service providers.

Functions

This section is empty.

Types

type EtcdService

type EtcdService struct {
	pb.UnimplementedEtcdServer
	// contains filtered or unexported fields
}

func NewEtcdService

func NewEtcdService(etcd *biz.EtcdUsecase) *EtcdService

func (*EtcdService) Get

func (*EtcdService) Put

type JavaDemoServiceService

type JavaDemoServiceService struct {
	pb.UnimplementedJavaDemoServiceServer
}

func NewJavaDemoServiceService

func NewJavaDemoServiceService() *JavaDemoServiceService

func (*JavaDemoServiceService) HelloWorld

func (*JavaDemoServiceService) HelloWorldClientAndServerStream

func (*JavaDemoServiceService) HelloWorldClientStream

type LsmdbService

type LsmdbService struct {
	pb.UnimplementedLsmdbServer
	// contains filtered or unexported fields
}

func NewLsmdbService

func NewLsmdbService(uc *biz.LevelDBUsecase, logger log.Logger, etcd *biz.EtcdUsecase, oss *biz.OssUsecase) *LsmdbService

func (*LsmdbService) Get

func (s *LsmdbService) Get(ctx context.Context, req *pb.GetRequest) (*pb.GetReply, error)

func (*LsmdbService) OpenDB

func (s *LsmdbService) OpenDB(ctx context.Context, req *pb.OpenDBRequest) (*pb.OpenDBReply, error)

func (*LsmdbService) Put

func (s *LsmdbService) Put(ctx context.Context, req *pb.PutRequest) (*pb.PutReply, error)

func (*LsmdbService) PutStr

func (s *LsmdbService) PutStr(ctx context.Context, req *pb.PutStrRequest) (*pb.PutStrReply, error)

type RegisterService

type RegisterService struct {
	pb.UnimplementedRegisterServer
}

func NewRegisterService

func NewRegisterService() *RegisterService

func (*RegisterService) Register

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳