Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Router ¶
Router is the object we can use to connect our http.Handlers to the application's router
type RoutesConfig ¶
type RoutesConfig struct { GraphQL string `default:"/q/query" valid:"pathdis" yaml:"graphql,omitempty"` GraphQLPlayground string `default:"/q" valid:"pathdis" yaml:"graphqlplayground,omitempty"` }
func (*RoutesConfig) Route ¶
func (rc *RoutesConfig) Route(router Router) error
Click to show internal directories.
Click to hide internal directories.