Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller interface {
Register(e *echo.Echo)
}
type GraphqlController ¶
type GraphqlController struct {
// contains filtered or unexported fields
}
func (*GraphqlController) GraphQL ¶
func (m *GraphqlController) GraphQL() echo.HandlerFunc
func (*GraphqlController) GraphiQL ¶
func (m *GraphqlController) GraphiQL() echo.HandlerFunc
func (*GraphqlController) Register ¶
func (m *GraphqlController) Register(e *echo.Echo)
type GraphqlControllerResult ¶
type GraphqlControllerTarget ¶
type GraphqlControllerTarget struct { fx.In GraphiQLEnable bool `name:"graphiql_enable"` Logger meshlogger.Logger }
type Result ¶
type Result struct { fx.Out Controller Controller `group:"controller"` }
func NewGraphQLController ¶
func NewGraphQLController(target GraphqlControllerTarget) Result
type Target ¶
type Target struct { fx.In Echo *echo.Echo Controllers []Controller `group:"controller"` }
Click to show internal directories.
Click to hide internal directories.