Documentation ¶ Index ¶ func Execute() type Config func (c *Config) Flags(prefix string) *pflag.FlagSet Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Execute ¶ func Execute() Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd. Types ¶ type Config ¶ type Config struct { ServerAddr string ServerPort int Pg pg.Config Session session.Config XAPIToken string } func (*Config) Flags ¶ func (c *Config) Flags(prefix string) *pflag.FlagSet Source Files ¶ View all Source files root.goserver.go Directories ¶ Show internal Expand all Path Synopsis migrate Click to show internal directories. Click to hide internal directories.