Documentation ¶
Index ¶
- Variables
- func CreateInitServersFn(js *JudgementsService) grpc.InitServers
- type JudgementsService
- func (s *JudgementsService) CreateJudgement(ctx context.Context, request *proto.CreateJudgementRequest) (*proto.CreateJudgementResponse, error)
- func (s *JudgementsService) ListJudgements(ctx context.Context, request *proto.ListRequest) (*proto.ListResponse, error)
- func (s *JudgementsService) PullJudgement(ctx context.Context, request *proto.PullJudgementRequest) (*proto.PullJudgementResponse, error)
- func (s *JudgementsService) PushJudgement(ctx context.Context, request *proto.PushJudgementRequest) (*proto.PushJudgementResponse, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewJudgementsServer, CreateInitServersFn)
Functions ¶
func CreateInitServersFn ¶
func CreateInitServersFn( js *JudgementsService, ) grpc.InitServers
Types ¶
type JudgementsService ¶
type JudgementsService struct {
// contains filtered or unexported fields
}
func CreateJudgementsServer ¶
func CreateJudgementsServer(cf string, service services.JudgementsService) (*JudgementsService, error)
func NewJudgementsServer ¶
func NewJudgementsServer(logger *zap.Logger, js services.JudgementsService) (*JudgementsService, error)
func (*JudgementsService) CreateJudgement ¶
func (s *JudgementsService) CreateJudgement(ctx context.Context, request *proto.CreateJudgementRequest) (*proto.CreateJudgementResponse, error)
func (*JudgementsService) ListJudgements ¶
func (s *JudgementsService) ListJudgements(ctx context.Context, request *proto.ListRequest) (*proto.ListResponse, error)
func (*JudgementsService) PullJudgement ¶
func (s *JudgementsService) PullJudgement(ctx context.Context, request *proto.PullJudgementRequest) (*proto.PullJudgementResponse, error)
func (*JudgementsService) PushJudgement ¶
func (s *JudgementsService) PushJudgement(ctx context.Context, request *proto.PushJudgementRequest) (*proto.PushJudgementResponse, error)
Click to show internal directories.
Click to hide internal directories.