Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SetScopesModule ¶
type SetScopesModule struct { Value uint64 `mapstructure:"value"` Scopes []string `mapstructure:"scopes"` Logger *zap.Logger }
SetScopesModule is a simple module that has access to the GraphQL operation and adds custom scopes to the response
func (*SetScopesModule) Middleware ¶
func (m *SetScopesModule) Middleware(ctx core.RequestContext, next http.Handler)
func (*SetScopesModule) Module ¶
func (m *SetScopesModule) Module() core.ModuleInfo
Click to show internal directories.
Click to hide internal directories.