Documentation ¶
Index ¶
- Variables
- func CreateInitServersFn(ss *SubmissionService) grpc.InitServers
- type SubmissionService
- func (s *SubmissionService) CreateSubmission(ctx context.Context, req *proto.CreateSubmissionRequest) (res *proto.CreateSubmissionResponse, err error)
- func (s *SubmissionService) DispatchJudge(ctx context.Context, request *proto.DispatchJudgeRequest) (*proto.DispatchJudgeResponse, error)
- func (s *SubmissionService) ReturnJudgement(ctx context.Context, request *proto.ReturnJudgementRequest) (*proto.ReturnJudgementResponse, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewSubmissionsServer, CreateInitServersFn)
Functions ¶
func CreateInitServersFn ¶
func CreateInitServersFn( ss *SubmissionService, ) grpc.InitServers
Types ¶
type SubmissionService ¶
type SubmissionService struct {
// contains filtered or unexported fields
}
func CreateSubmissionsServer ¶
func CreateSubmissionsServer(cf string, service services.SubmissionsService) (*SubmissionService, error)
func NewSubmissionsServer ¶
func NewSubmissionsServer(logger *zap.Logger, ps services.SubmissionsService) (*SubmissionService, error)
func (*SubmissionService) CreateSubmission ¶
func (s *SubmissionService) CreateSubmission(ctx context.Context, req *proto.CreateSubmissionRequest) (res *proto.CreateSubmissionResponse, err error)
func (*SubmissionService) DispatchJudge ¶
func (s *SubmissionService) DispatchJudge(ctx context.Context, request *proto.DispatchJudgeRequest) (*proto.DispatchJudgeResponse, error)
func (*SubmissionService) ReturnJudgement ¶
func (s *SubmissionService) ReturnJudgement(ctx context.Context, request *proto.ReturnJudgementRequest) (*proto.ReturnJudgementResponse, error)
Click to show internal directories.
Click to hide internal directories.