Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GQLError ¶ added in v1.1.2
type GQLError struct {
// contains filtered or unexported fields
}
GQLError represents a GraphQL error
type Graph ¶
type Graph struct {
// contains filtered or unexported fields
}
Graph represents the graph resolution engine
func New ¶
func New( str store.Store, validator validator.Validator, sessionKeyGenerator sesskeygen.SessionKeyGenerator, passwordHasher passhash.PasswordHasher, shield gqlshield.GraphQLShield, ) (*Graph, error)
New creates a new graph resolver instance
type Response ¶
type Response struct { Data []byte Error *ResponseError }
Response represents a response object
type ResponseError ¶
ResponseError represents a response error object
func (*ResponseError) Error ¶
func (err *ResponseError) Error() string
Error implements the error interface
Click to show internal directories.
Click to hide internal directories.