Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureExists ¶
Types ¶
type Conf ¶
type Conf struct { config.Common Client config.Client Chainstore config.Chainstore Storage StorageConf }
Conf defines the daemon config. It should be compatible with Lotus config.
func DefaultConf ¶
func DefaultConf() *Conf
func FromFile ¶
FromFile loads config from a specified file. If file does not exist or is empty defaults are assumed.
func FromReader ¶
FromReader loads config from a reader instance.
func SampleConf ¶
func SampleConf() *Conf
SampleConf is the example configuration that is written when lily is first started. All entries will be commented out.
type FileStorageConf ¶
type PgStorageConf ¶
type StorageConf ¶
type StorageConf struct { Postgresql map[string]PgStorageConf File map[string]FileStorageConf }
Click to show internal directories.
Click to hide internal directories.