Versions in this module Expand all Collapse all v0 v0.11.1 Mar 3, 2021 v0.11.0 Mar 1, 2021 Changes in this version + func NewExecutableSchema(cfg Config) graphql.ExecutableSchema + type ComplexityRoot struct + Cache struct{ ... } + Entity struct{ ... } + Event struct{ ... } + Mutation struct{ ... } + PeerMessage struct{ ... } + Query struct{ ... } + Subscription struct{ ... } + type Config struct + Complexity ComplexityRoot + Directives DirectiveRoot + Resolvers ResolverRoot + type DirectiveRoot struct + type MutationResolver interface + BroadcastMessage func(ctx context.Context, input model.Message) (*string, error) + DelCache func(ctx context.Context, input model.CacheRef) (*string, error) + DelEntity func(ctx context.Context, input model.EntityRef) (*string, error) + EditEntity func(ctx context.Context, input model.EntityInput) (*model.Entity, error) + LockMutex func(ctx context.Context, input model.Mutex) (*string, error) + RevertEntity func(ctx context.Context, input model.EventRef) (*model.Entity, error) + SetCache func(ctx context.Context, input model.CacheInput) (*string, error) + SetEntity func(ctx context.Context, input model.EntityInput) (*model.Entity, error) + UnlockMutex func(ctx context.Context, input model.MutexRef) (*string, error) + type QueryResolver interface + GetCache func(ctx context.Context, input model.CacheRef) (*model.Cache, error) + GetEntity func(ctx context.Context, input model.EntityRef) (*model.Entity, error) + GetEvent func(ctx context.Context, input model.EventRef) (*model.Event, error) + SearchEntities func(ctx context.Context, input model.SearchEntityOpts) ([]*model.Entity, error) + SearchEvents func(ctx context.Context, input model.SearchEventOpts) ([]*model.Event, error) + type ResolverRoot interface + Mutation func() MutationResolver + Query func() QueryResolver + Subscription func() SubscriptionResolver + type SubscriptionResolver interface + StreamEvents func(ctx context.Context, input model.StreamEventOpts) (<-chan *model.Event, error) + StreamMessages func(ctx context.Context, input model.StreamMessageOpts) (<-chan *model.PeerMessage, error)