Documentation ¶
Index ¶
- type Mongo
- type Object
- func (n *Object) Mutate(ctx context.Context, f *graph.Field) (graph.Value, []error)
- func (n *Object) Query(ctx context.Context, f *graph.Field) (graph.Value, []error)
- func (n *Object) String() string
- func (n *Object) Subscribe(ctx context.Context, f *graph.Field, cb graph.Callback) (uintptr, []error)
- func (n *Object) Unsubscribe(ctx context.Context, p uintptr) []error
- type Set
- func (n *Set) Mutate(ctx context.Context, f *graph.Field) (graph.Value, []error)
- func (n *Set) Query(ctx context.Context, f *graph.Field) (graph.Value, []error)
- func (n *Set) String() string
- func (n *Set) Subscribe(ctx context.Context, f *graph.Field, cb graph.Callback) (uintptr, []error)
- func (n *Set) Unsubscribe(ctx context.Context, p uintptr) []error
- type Struct
- func (n *Struct) Mutate(ctx context.Context, f *graph.Field) (graph.Value, []error)
- func (n *Struct) Query(ctx context.Context, f *graph.Field) (graph.Value, []error)
- func (n *Struct) Subscribe(ctx context.Context, f *graph.Field, cb graph.Callback) (uintptr, []error)
- func (n *Struct) Unsubscribe(ctx context.Context, p uintptr) []error
- type Trans
- func (n *Trans) Mutate(ctx context.Context, f *graph.Field) (graph.Value, []error)
- func (n *Trans) Query(ctx context.Context, f *graph.Field) (graph.Value, []error)
- func (n *Trans) String() string
- func (n *Trans) Subscribe(ctx context.Context, f *graph.Field, cb graph.Callback) (uintptr, []error)
- func (n *Trans) Unsubscribe(ctx context.Context, p uintptr) []error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mongo ¶
type Mongo struct { *mongo.Collection Trans }
Mongo node connects to a mongo collection
type Object ¶
Object contains multiple fields
type Set ¶
Set contains multiple objects
type Struct ¶
Struct node
Click to show internal directories.
Click to hide internal directories.