Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewUsersServer, CreateInitServersFn)
Functions ¶
func CreateInitServersFn ¶
func CreateInitServersFn( ps *ProblemService, ) grpc.InitServers
Types ¶
type ProblemService ¶
type ProblemService struct {
// contains filtered or unexported fields
}
func CreateUsersServer ¶
func CreateUsersServer(cf string, service services.ProblemsService) (*ProblemService, error)
func NewUsersServer ¶
func NewUsersServer(logger *zap.Logger, ps services.ProblemsService) (*ProblemService, error)
func (*ProblemService) CreateProblem ¶
func (s *ProblemService) CreateProblem(ctx context.Context, req *proto.CreateProblemRequest) (res *proto.CreateProblemResponse, err error)
func (*ProblemService) FetchProblem ¶
func (s *ProblemService) FetchProblem(ctx context.Context, req *proto.FetchProblemRequest) (res *proto.FetchProblemResponse, err error)
Click to show internal directories.
Click to hide internal directories.