Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v0.3.1
type Config struct { DatabaseType string DatabasePath string DatabaseOptions map[string]interface{} ReplicationType string ReplicationOptions map[string]interface{} ListenHost string ListenPort string ReadOnly bool Timeout time.Duration LoadSize int RequiresHTTPRequestContext bool }
Config defines the behavior of cayley database instances.
func Load ¶ added in v0.4.0
Load reads a JSON-encoded config contained in the given file. A zero value config is returned if the filename is empty.
func (*Config) MarshalJSON ¶ added in v0.4.0
func (*Config) UnmarshalJSON ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.