Documentation ¶ Index ¶ func Execute() error func OpenSocks5Sql(dsn string) (*sql.DB, error) type Config func LoadConfig() (Config, error) type DatabaseConfig func (dbcfg DatabaseConfig) Open(ctx context.Context, logger logrus.FieldLogger) (*sql.DB, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Execute ¶ func Execute() error Execute executes the root command. func OpenSocks5Sql ¶ func OpenSocks5Sql(dsn string) (*sql.DB, error) Types ¶ type Config ¶ type Config struct { Databases map[string]DatabaseConfig `yaml:"databases"` ServiceName string `yaml:"servicename"` } func LoadConfig ¶ func LoadConfig() (Config, error) type DatabaseConfig ¶ type DatabaseConfig struct { Connection string `yaml:"connection"` Dsn msdsn.Config UsePasswordLogin bool } func (DatabaseConfig) Open ¶ func (dbcfg DatabaseConfig) Open(ctx context.Context, logger logrus.FieldLogger) (*sql.DB, error) Source Files ¶ View all Source files build.go config.go constants.go dep.go hash.go remote.go root.go up.go Click to show internal directories. Click to hide internal directories.