Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Configuration ¶
type Configuration struct { Host string `toml:"host" default:"172.17.0.2" comment:"Postgres host"` Port int `toml:"port" default:"5432" comment:"Postgres port"` User string `toml:"user" default:"postgres" comment:"Postgres user"` Password string `toml:"password" default:"mysecretpassword" comment:"Postgres password"` Dbname string `toml:"dbName" default:"postgres" comment:"Postgres dbName"` }
Configuration settings for Postgres DB sinking
type PostGreSinker ¶
func (*PostGreSinker) Init ¶
func (s *PostGreSinker) Init(ctx context.Context, params interface{}) error
func (*PostGreSinker) Sink ¶
func (s *PostGreSinker) Sink(ctx context.Context, t time.Time, data []app.FlightData) error
Click to show internal directories.
Click to hide internal directories.