Documentation
¶
Index ¶
- type Options
- type Results
- func (r *Results) Close()
- func (r *Results) Get(ctx context.Context, uuid string) ([]byte, error)
- func (r *Results) Query(ctx context.Context, token string, filters ...*tq.Filter) ([]*tq.QueryResult, string, error)
- func (r *Results) Set(ctx context.Context, uuid, status string, meta *tq.Correlation, b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
Host string `yaml:"host"`
Port uint16 `yaml:"port"`
Database string `yaml:"database"`
User string `yaml:"user"`
Password string `yaml:"password"`
TLSConfig *tls.Config `yaml:"tls_config"`
ConnectTimeout time.Duration `yaml:"connect_timeout"`
MaxConnIdleTime time.Duration `yaml:"max_conn_idle_time"`
MaxConns int32 `yaml:"max_conns"`
MinConns int32 `yaml:"min_conns"`
}
Click to show internal directories.
Click to hide internal directories.