Documentation
¶
Index ¶
- func ReconstructGraph(graphData map[string]interface{}) model.Graph
- type DgraphFactory
- type Settings
- type SharedDgraphManager
- func (this *SharedDgraphManager) GetConnection() interface{}
- func (this *SharedDgraphManager) Lookup(clientID string, properties map[string]interface{}) (dbservice.UpsertService, error)
- func (this *SharedDgraphManager) ReleaseConnection(connection interface{})
- func (this *SharedDgraphManager) Start() error
- func (this *SharedDgraphManager) Stop() error
- func (this *SharedDgraphManager) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReconstructGraph ¶
Types ¶
type DgraphFactory ¶
type DgraphFactory struct { }
DgraphFactory for postgres connection
func (*DgraphFactory) NewManager ¶
func (this *DgraphFactory) NewManager(settings map[string]interface{}) (connection.Manager, error)
NewManager DgraphFactory
type Settings ¶
type Settings struct { Name string `md:"name,required"` Description string `md:"description"` ApiVersion string `md:"apiVersion,required"` URL string `md:"url"` TLSEnabled bool `md:"tlsEnabled,required"` User string `md:"user,required"` Password string `md:"password,required"` TLS string `md:"tls,required"` SchemaGen string `md:"schemaGen,required"` Schema string `md:"schema,required"` }
Settings for dgraph
func NewSetting ¶
type SharedDgraphManager ¶
type SharedDgraphManager struct {
// contains filtered or unexported fields
}
SharedDgraphManager details
func (*SharedDgraphManager) GetConnection ¶
func (this *SharedDgraphManager) GetConnection() interface{}
GetConnection SharedDgraphManager details
func (*SharedDgraphManager) Lookup ¶
func (this *SharedDgraphManager) Lookup(clientID string, properties map[string]interface{}) (dbservice.UpsertService, error)
func (*SharedDgraphManager) ReleaseConnection ¶
func (this *SharedDgraphManager) ReleaseConnection(connection interface{})
ReleaseConnection SharedDgraphManager details
func (*SharedDgraphManager) Start ¶
func (this *SharedDgraphManager) Start() error
Start SharedDgraphManager details
func (*SharedDgraphManager) Stop ¶
func (this *SharedDgraphManager) Stop() error
Stop SharedDgraphManager details
func (*SharedDgraphManager) Type ¶
func (this *SharedDgraphManager) Type() string
Type SharedDgraphManager details
Click to show internal directories.
Click to hide internal directories.