service

package
v0.0.0-...-032cc0f Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is service providers.

Functions

This section is empty.

Types

type AdminService

type AdminService struct {
	pb.UnimplementedLayoutAdminServer
}

func NewAdminService

func NewAdminService(uc *biz.GreeterUsecase) *AdminService

func (*AdminService) CreateBot

func (s *AdminService) CreateBot(ctx context.Context, req *pb.CreateBotRequest) (*pb.CreateBotReply, error)

func (*AdminService) DeleteBot

func (s *AdminService) DeleteBot(ctx context.Context, req *pb.DeleteBotRequest) (*pb.DeleteBotReply, error)

func (*AdminService) GetBot

func (s *AdminService) GetBot(ctx context.Context, req *pb.GetBotRequest) (*pb.GetBotReply, error)

func (*AdminService) ListBot

func (s *AdminService) ListBot(ctx context.Context, req *pb.ListBotRequest) (*pb.ListBotReply, error)

func (*AdminService) PageBot

func (s *AdminService) PageBot(ctx context.Context, req *pb.PageBotRequest) (*pb.PageBotReply, error)

func (*AdminService) UpdateBot

func (s *AdminService) UpdateBot(ctx context.Context, req *pb.UpdateBotRequest) (*pb.UpdateBotReply, error)

type V1Service

type V1Service struct {
	// contains filtered or unexported fields
}

func NewV1Service

func NewV1Service(uc *biz.GreeterUsecase) *V1Service

func (*V1Service) ChainBotWebHook

func (s *V1Service) ChainBotWebHook(ctx *gin.Context)

func (*V1Service) Hello

func (s *V1Service) Hello(ctx *gin.Context)

Jump to

Keyboard shortcuts

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