Documentation ¶
Index ¶
- func RegisterBackend(app *server.BroadcastServer) (server.Backend, error)
- type BGraphBackend
- func (b *BGraphBackend) DecrDEdge(data interface{}, client server.ProtocolClient) error
- func (b *BGraphBackend) DecrEdge(data interface{}, client server.ProtocolClient) error
- func (b *BGraphBackend) DecrVertex(data interface{}, client server.ProtocolClient) error
- func (b *BGraphBackend) FindEdges(data interface{}, client server.ProtocolClient) error
- func (b *BGraphBackend) IncrDEdge(data interface{}, client server.ProtocolClient) error
- func (b *BGraphBackend) IncrEdge(data interface{}, client server.ProtocolClient) error
- func (b *BGraphBackend) IncrVertex(data interface{}, client server.ProtocolClient) error
- func (b *BGraphBackend) IntersectEdges(data interface{}, client server.ProtocolClient) error
- func (b *BGraphBackend) Load() error
- func (b *BGraphBackend) SetDEdge(data interface{}, client server.ProtocolClient) error
- func (b *BGraphBackend) SetEdge(data interface{}, client server.ProtocolClient) error
- func (b *BGraphBackend) SetVertex(data interface{}, client server.ProtocolClient) error
- func (b *BGraphBackend) Unload() error
- type DB
- type MemoryGraphDb
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterBackend ¶
func RegisterBackend(app *server.BroadcastServer) (server.Backend, error)
Types ¶
type BGraphBackend ¶
func (*BGraphBackend) DecrDEdge ¶
func (b *BGraphBackend) DecrDEdge(data interface{}, client server.ProtocolClient) error
func (*BGraphBackend) DecrEdge ¶
func (b *BGraphBackend) DecrEdge(data interface{}, client server.ProtocolClient) error
func (*BGraphBackend) DecrVertex ¶
func (b *BGraphBackend) DecrVertex(data interface{}, client server.ProtocolClient) error
func (*BGraphBackend) FindEdges ¶
func (b *BGraphBackend) FindEdges(data interface{}, client server.ProtocolClient) error
func (*BGraphBackend) IncrDEdge ¶
func (b *BGraphBackend) IncrDEdge(data interface{}, client server.ProtocolClient) error
func (*BGraphBackend) IncrEdge ¶
func (b *BGraphBackend) IncrEdge(data interface{}, client server.ProtocolClient) error
func (*BGraphBackend) IncrVertex ¶
func (b *BGraphBackend) IncrVertex(data interface{}, client server.ProtocolClient) error
func (*BGraphBackend) IntersectEdges ¶
func (b *BGraphBackend) IntersectEdges(data interface{}, client server.ProtocolClient) error
func (*BGraphBackend) Load ¶
func (b *BGraphBackend) Load() error
func (*BGraphBackend) SetDEdge ¶
func (b *BGraphBackend) SetDEdge(data interface{}, client server.ProtocolClient) error
SetDEdge will set the directed edge weight for the data passed into it
func (*BGraphBackend) SetEdge ¶
func (b *BGraphBackend) SetEdge(data interface{}, client server.ProtocolClient) error
func (*BGraphBackend) SetVertex ¶
func (b *BGraphBackend) SetVertex(data interface{}, client server.ProtocolClient) error
func (*BGraphBackend) Unload ¶
func (b *BGraphBackend) Unload() error
type MemoryGraphDb ¶
func NewMemoryGraphDb ¶
func NewMemoryGraphDb() (*MemoryGraphDb, error)
Click to show internal directories.
Click to hide internal directories.