Documentation ¶
Index ¶
- Variables
- type AggFilter
- type Aggregate
- type Algorithm
- type AuthTarget
- type Authorizer
- type AuthorizerInput
- type Authorizers
- type AuthorizersInput
- type ConnectFilter
- type Connection
- type ConnectionConstructor
- type ConnectionConstructors
- type Connections
- type Constraint
- type ConstraintInput
- type Constraints
- type ConstraintsInput
- type Doc
- type DocConstructor
- type DocConstructors
- type Docs
- type Edit
- type EditFilter
- type ExistsFilter
- type ExprFilter
- type Filter
- type Index
- type IndexInput
- type Indexes
- type IndexesInput
- type Membership
- type Message
- type OutboundMessage
- type Peer
- type PeerInput
- type PutConnection
- type PutConnections
- type PutDoc
- type PutDocs
- type RaftState
- type Ref
- type RefConstructor
- type RefInput
- type Refs
- type Schema
- type SearchConnectFilter
- type SearchConnectMeFilter
- type StreamFilter
- type Traversal
- type Traversals
- type TraverseFilter
- type TraverseMeFilter
- type Trigger
- type TriggerInput
- type Triggers
- type TriggersInput
Constants ¶
This section is empty.
Variables ¶
View Source
var AllAggregate = []Aggregate{ AggregateCount, AggregateSum, AggregateAvg, AggregateMax, AggregateMin, AggregateProd, }
View Source
var AllAlgorithm = []Algorithm{ AlgorithmBfs, AlgorithmDfs, }
View Source
var AllMembership = []Membership{ MembershipUnknown, MembershipFollower, MembershipCandidate, MembershipLeader, MembershipShutdown, }
Functions ¶
This section is empty.
Types ¶
type Aggregate ¶
type Aggregate string
func (Aggregate) MarshalGQL ¶
func (*Aggregate) UnmarshalGQL ¶
type Algorithm ¶
type Algorithm string
func (Algorithm) MarshalGQL ¶
func (*Algorithm) UnmarshalGQL ¶
type AuthTarget ¶
type Authorizer ¶
type AuthorizerInput ¶
type Authorizers ¶
type Authorizers struct {
Authorizers []*Authorizer `json:"authorizers"`
}
type AuthorizersInput ¶
type AuthorizersInput struct {
Authorizers []*AuthorizerInput `json:"authorizers"`
}
type ConnectFilter ¶
type Connection ¶
type ConnectionConstructor ¶
type ConnectionConstructor struct { Ref *RefConstructor `json:"ref"` Directed bool `json:"directed"` Attributes map[string]interface{} `json:"attributes"` From *RefInput `json:"from"` To *RefInput `json:"to"` }
type ConnectionConstructors ¶
type ConnectionConstructors struct {
Connections []*ConnectionConstructor `json:"connections"`
}
type Connections ¶
type Connections struct { Connections []*Connection `json:"connections"` SeekNext *string `json:"seek_next"` }
type Constraint ¶
type ConstraintInput ¶
type Constraints ¶
type Constraints struct {
Constraints []*Constraint `json:"constraints"`
}
type ConstraintsInput ¶
type ConstraintsInput struct {
Constraints []*ConstraintInput `json:"constraints"`
}
type DocConstructor ¶
type DocConstructor struct { Ref *RefConstructor `json:"ref"` Attributes map[string]interface{} `json:"attributes"` }
type DocConstructors ¶
type DocConstructors struct {
Docs []*DocConstructor `json:"docs"`
}
type EditFilter ¶
type ExistsFilter ¶
type ExprFilter ¶
type ExprFilter struct {
Expression *string `json:"expression"`
}
type IndexInput ¶
type IndexesInput ¶
type IndexesInput struct {
Indexes []*IndexInput `json:"indexes"`
}
type Membership ¶
type Membership string
const ( MembershipUnknown Membership = "UNKNOWN" MembershipFollower Membership = "FOLLOWER" MembershipCandidate Membership = "CANDIDATE" MembershipLeader Membership = "LEADER" MembershipShutdown Membership = "SHUTDOWN" )
func (Membership) IsValid ¶
func (e Membership) IsValid() bool
func (Membership) MarshalGQL ¶
func (e Membership) MarshalGQL(w io.Writer)
func (Membership) String ¶
func (e Membership) String() string
func (*Membership) UnmarshalGQL ¶
func (e *Membership) UnmarshalGQL(v interface{}) error
type OutboundMessage ¶
type PutConnection ¶
type PutConnections ¶
type PutConnections struct {
Connections []*PutConnection `json:"connections"`
}
type RaftState ¶
type RaftState struct { Leader string `json:"leader"` Membership Membership `json:"membership"` Peers []*Peer `json:"peers"` Stats map[string]interface{} `json:"stats"` }
type RefConstructor ¶
type Schema ¶
type Schema struct { ConnectionTypes []string `json:"connection_types"` DocTypes []string `json:"doc_types"` Authorizers *Authorizers `json:"authorizers"` Constraints *Constraints `json:"constraints"` Indexes *Indexes `json:"indexes"` Triggers *Triggers `json:"triggers"` }
type SearchConnectFilter ¶
type SearchConnectMeFilter ¶
type StreamFilter ¶
type Traversals ¶
type Traversals struct {
Traversals []*Traversal `json:"traversals"`
}
type TraverseFilter ¶
type TraverseFilter struct { Root *RefInput `json:"root"` DocExpression *string `json:"doc_expression"` ConnectionExpression *string `json:"connection_expression"` Limit int `json:"limit"` Sort *string `json:"sort"` Reverse *bool `json:"reverse"` Algorithm *Algorithm `json:"algorithm"` MaxDepth int `json:"max_depth"` MaxHops int `json:"max_hops"` }
type TraverseMeFilter ¶
type TraverseMeFilter struct { DocExpression *string `json:"doc_expression"` ConnectionExpression *string `json:"connection_expression"` Limit int `json:"limit"` Sort *string `json:"sort"` Reverse *bool `json:"reverse"` Algorithm *Algorithm `json:"algorithm"` MaxDepth int `json:"max_depth"` MaxHops int `json:"max_hops"` }
type TriggerInput ¶
type TriggersInput ¶
type TriggersInput struct {
Triggers []*TriggerInput `json:"triggers"`
}
Click to show internal directories.
Click to hide internal directories.