Documentation ¶
Index ¶
- Variables
- func LoadFromContext(ctx context.Context) (graphql.ApplicationExt, error)
- func NewApplicationMiddleware(cliProvider gqlcli.Provider) *applicationMiddleware
- func SaveToContext(ctx context.Context, appDetails graphql.ApplicationExt) context.Context
- type AppDetailsContextKey
- type GqlSuccessfulAppPage
- type GraphQLRequestBuilder
Constants ¶
This section is empty.
Variables ¶
View Source
var NilContextError = errors.New("context is empty")
View Source
var NoAppDetailsError = errors.New("cannot read Application details from context")
Functions ¶
func LoadFromContext ¶
func LoadFromContext(ctx context.Context) (graphql.ApplicationExt, error)
func SaveToContext ¶
Types ¶
type AppDetailsContextKey ¶
type AppDetailsContextKey struct{}
type GqlSuccessfulAppPage ¶
type GqlSuccessfulAppPage struct {
Result graphql.ApplicationPageExt `json:"result"`
}
type GraphQLRequestBuilder ¶
Click to show internal directories.
Click to hide internal directories.