Documentation
¶
Index ¶
Constants ¶
View Source
const SourceKind string = "neo4j"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Name string `yaml:"name" validate:"required"`
Kind string `yaml:"kind" validate:"required"`
Uri string `yaml:"uri" validate:"required"`
User string `yaml:"user" validate:"required"`
Password string `yaml:"password" validate:"required"`
Database string `yaml:"database" validate:"required"`
}
func (Config) Initialize ¶
func (Config) SourceConfigKind ¶
type Source ¶
type Source struct {
Name string `yaml:"name"`
Kind string `yaml:"kind"`
Database string `yaml:"database"`
Driver neo4j.DriverWithContext
}
func (*Source) Neo4jDatabase ¶
func (*Source) Neo4jDriver ¶
func (s *Source) Neo4jDriver() neo4j.DriverWithContext
func (*Source) SourceKind ¶
Click to show internal directories.
Click to hide internal directories.