Documentation
¶
Index ¶
Constants ¶
View Source
const ( LogLevelDebug = "debug" LogLevelInfo = "info" LogLevelError = "error" LogLevelFatal = "fatal" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizedKeys ¶
func (*AuthorizedKeys) UnmarshalFlag ¶
func (f *AuthorizedKeys) UnmarshalFlag(value string) error
type Cipher ¶
func (*Cipher) UnmarshalFlag ¶
type IP ¶
func (*IP) UnmarshalFlag ¶
type Lager ¶
type Lager struct { LogLevel string `` /* 134-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Lager) SetWriterSink ¶
type PostgresConfig ¶
type PostgresConfig struct { Host string `long:"host" description:"The host to connect to." default:"127.0.0.1"` Port uint16 `long:"port" description:"The port to connect to." default:"5432"` Socket string `long:"socket" description:"Path to a UNIX domain socket to connect to."` User string `long:"user" description:"The user to sign in as."` Password string `long:"password" description:"The user's password."` SSLMode string `` /* 151-byte string literal not displayed */ CACert File `long:"ca-cert" description:"CA cert file location, to verify when connecting with SSL."` ClientCert File `long:"client-cert" description:"Client cert file location."` ClientKey File `long:"client-key" description:"Client key file location."` ConnectTimeout time.Duration `long:"connect-timeout" description:"Dialing timeout. (0 means wait indefinitely)" default:"5m"` Database string `long:"database" description:"The name of the database to use." default:"atc"` }
func (PostgresConfig) ConnectionString ¶
func (config PostgresConfig) ConnectionString() string
type PrivateKey ¶
type PrivateKey struct {
*rsa.PrivateKey
}
func (*PrivateKey) UnmarshalFlag ¶
func (f *PrivateKey) UnmarshalFlag(path string) error
Click to show internal directories.
Click to hide internal directories.