Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpServer ¶
type HttpServer struct {
// contains filtered or unexported fields
}
func NewHttpServer ¶
func NewHttpServer( config config.Config, graphqlConfig generated.Config, openTracer opentracer.OpenTracer, logger zerolog.Logger, ) *HttpServer
func (*HttpServer) ActionHandler ¶
func (server *HttpServer) ActionHandler(graphqlConfig generated.Config) gin.HandlerFunc
ActionHandler reuters a gin.handlerFunc that handling graphql action
func (*HttpServer) PlaygroundHandler ¶
func (server *HttpServer) PlaygroundHandler(title string, endpoint string) gin.HandlerFunc
PlaygroundHandler returns gin.HandlerFunc that handling graphql playground
func (*HttpServer) Shutdown ¶
func (server *HttpServer) Shutdown() error
func (*HttpServer) Start ¶
func (server *HttpServer) Start() error
Click to show internal directories.
Click to hide internal directories.