Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartGPRCWithGateway ¶
func StartGPRCWithGateway(cfg *config.Server, m *middleware.RequestMiddleware, grpcHandler *Handler, logger *logrus.Entry)
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(s QuestionsService) *Handler
func (*Handler) HealthCheck ¶
func (s *Handler) HealthCheck(ctx context.Context, message *apiCatosniff.Empty) (*apiCatosniff.HealthCheckResponse, error)
func (*Handler) SaveQuestion ¶
func (s *Handler) SaveQuestion(ctx context.Context, req *apiCatosniff.SaveQuestionRequest) (*apiCatosniff.SaveQuestionResponse, error)
Click to show internal directories.
Click to hide internal directories.