Documentation ¶
Index ¶
- Variables
- type AdminService
- func (s *AdminService) CreateBot(ctx context.Context, req *pb.CreateBotRequest) (*pb.CreateBotReply, error)
- func (s *AdminService) DeleteBot(ctx context.Context, req *pb.DeleteBotRequest) (*pb.DeleteBotReply, error)
- func (s *AdminService) GetBot(ctx context.Context, req *pb.GetBotRequest) (*pb.GetBotReply, error)
- func (s *AdminService) ListBot(ctx context.Context, req *pb.ListBotRequest) (*pb.ListBotReply, error)
- func (s *AdminService) PageBot(ctx context.Context, req *pb.PageBotRequest) (*pb.PageBotReply, error)
- func (s *AdminService) UpdateBot(ctx context.Context, req *pb.UpdateBotRequest) (*pb.UpdateBotReply, error)
- type V1Service
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewAdminService, NewV1Service)
ProviderSet is service providers.
Functions ¶
This section is empty.
Types ¶
type AdminService ¶
type AdminService struct {
// contains filtered or unexported fields
}
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 ¶
Click to show internal directories.
Click to hide internal directories.