Documentation ¶ Index ¶ Variables func NewApp(o *Options, logger *logger.Logger, rs *rpc.Server, db *sqlx.DB, ...) (*app.Application, error) type Options func NewOptions(v *viper.Viper) (*Options, error) Constants ¶ This section is empty. Variables ¶ View Source var ProviderSet = wire.NewSet(NewApp, NewOptions) Functions ¶ func NewApp ¶ func NewApp(o *Options, logger *logger.Logger, rs *rpc.Server, db *sqlx.DB, etcd *clientv3.Client) (*app.Application, error) Types ¶ type Options ¶ type Options struct { Name string URL string } func NewOptions ¶ func NewOptions(v *viper.Viper) (*Options, error) Source Files ¶ View all Source files app.go Directories ¶ Show internal Expand all Path Synopsis service Click to show internal directories. Click to hide internal directories.