Documentation ¶
Overview ¶
Package provide is the package that contains all of the providers for the dependency injection container.
Package provide is the package that contains all of the providers for the dependency injection container.
Package provide is the package that contains all of the providers for the dependency injection container.
Package provide is the package that contains all of the providers for the dependency injection container.
Package provide is the package that contains all of the providers for the dependency injection container.
Package provide is the package that contains all of the providers for the dependency injection container.
Package provide is the package that contains all of the providers for the dependency injection container.
Package provide is the package that contains all of the providers for the dependency injection container.
Index ¶
- func CacheContainer(rs *ristrettostore.RistrettoStore) *cachecontainer.CacheContainer
- func FxeventLogger(lc fx.Lifecycle, l logger.Logger) fxevent.Logger
- func HTTPClient() *http.Client
- func Logger(lc fx.Lifecycle, v *viper.Viper) logger.Logger
- func Manager(lc fx.Lifecycle, v *viper.Viper, l logger.Logger, ...) (*shard.Manager, error)
- func MessagePrinter() *message.Printer
- func RistrettoStore() (*ristrettostore.RistrettoStore, error)
- func Viper(lc fx.Lifecycle, cmd *cobra.Command) (*viper.Viper, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CacheContainer ¶
func CacheContainer(rs *ristrettostore.RistrettoStore) *cachecontainer.CacheContainer
CacheContainer is a function which provides a cachecontainer.CacheContainer instance.
func FxeventLogger ¶
FxeventLogger is a function which provides an fxevent.Logger instance.
func HTTPClient ¶
HTTPClient is a function which provides an http.Client instance.
func Manager ¶
func Manager( lc fx.Lifecycle, v *viper.Viper, l logger.Logger, cc *cachecontainer.CacheContainer, hc *http.Client, mp *message.Printer, p *presence.Presence, cm *cmd.Manager, ) (*shard.Manager, error)
Manager is a function which provides a *shard.Manager instance.
func MessagePrinter ¶
MessagePrinter is a function which provides a message.Printer instance.
func RistrettoStore ¶
func RistrettoStore() (*ristrettostore.RistrettoStore, error)
RistrettoStore is a function which provides a ristrettostore.RistrettoStore instance.
Types ¶
This section is empty.