Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶ added in v1.1.0
type Config struct {
DSN string `` /* 218-byte string literal not displayed */
Interval uint `kong:"short='i',default='3',help='Interval seconds.'"`
Timeout uint `kong:"short='t',default='3',help='Timeout seconds.'"`
Query string `kong:"short='q',help='Query to run.'"`
IAMAuth bool `kong:"help='Use IAM authentication.'"`
Driver DBDriver `kong:"-"`
}
func (*Config) AfterApply ¶ added in v1.1.0
Kong hook see https://github.com/alecthomas/kong#hooks-beforereset-beforeresolve-beforeapply-afterapply-and-the-bind-option
Click to show internal directories.
Click to hide internal directories.