Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Name string `yaml:"name"` Addr string `yaml:"addr"` Log string `yaml:"log"` Segment SegmentConfig `yaml:"segment"` Snowflake SnowflakeConfig `yaml:"snowflake"` }
type SegmentConfig ¶
type SegmentConfig struct { Enable bool `yaml:"enable"` DBHost string `yaml:"db_host"` DBName string `yaml:"db_name"` DBUser string `yaml:"db_user"` DBPass string `yaml:"db_pass"` }
func (*SegmentConfig) DBUrl ¶
func (c *SegmentConfig) DBUrl() string
type SnowflakeConfig ¶
Click to show internal directories.
Click to hide internal directories.