Documentation ¶
Index ¶
- Variables
- func AddrFromStr(str string) ma.Multiaddr
- func BindFlags(v *viper.Viper, root *cobra.Command, flags map[string]Flag) error
- func End(format string, args ...interface{})
- func ExpandConfigVars(v *viper.Viper, flags map[string]Flag)
- func Fatal(err error, args ...interface{})
- func GetThreadType(isDB bool) string
- func InitConfig(conf Config) func()
- func InitConfigCmd(rootCmd *cobra.Command, v *viper.Viper, dir string)
- func Message(format string, args ...interface{})
- func RenderTable(header []string, data [][]string)
- func Success(format string, args ...interface{})
- func ThreadIDFromString(str string) thread.ID
- func Warn(format string, args ...interface{})
- func WriteConfig(c *cobra.Command, v *viper.Viper, name string)
- type Clients
- type ClientsCtx
- type Config
- type Flag
- type Thread
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func AddrFromStr ¶
func GetThreadType ¶ added in v1.0.4
func InitConfig ¶
func InitConfig(conf Config) func()
func InitConfigCmd ¶ added in v1.0.4
func RenderTable ¶
func ThreadIDFromString ¶ added in v1.0.4
Types ¶
type Clients ¶ added in v1.0.4
type Clients struct { Buckets *bc.Client Threads *tc.Client Hub *hc.Client Users *uc.Client Ctx ClientsCtx }
func NewClients ¶ added in v1.0.4
func NewClients(target string, hub bool, ctx ClientsCtx) *Clients
func (*Clients) ListThreads ¶ added in v1.0.4
type ClientsCtx ¶ added in v1.0.4
Click to show internal directories.
Click to hide internal directories.