context

package
v0.0.0-...-fe78ce7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAPI

func GetAPI(ctx context.Context) *geyser.Client

func GetBus

func GetBus(ctx context.Context) *nsbus.Bus

func GetDB

func GetDB(ctx context.Context) *gorm.DB

func GetDota

func GetDota(ctx context.Context) *nsdota2.Client

func GetDotaAPI

func GetDotaAPI(ctx context.Context) *gsdota2.Client

func GetLogger

func GetLogger(ctx context.Context) *nslog.Logger

func GetRedis

func GetRedis(ctx context.Context) *nsrds.Redis

func GetSteam

func GetSteam(ctx context.Context) *nssteam.Client

func WithAPI

func WithAPI(ctx context.Context, api *geyser.Client) context.Context

func WithBus

func WithBus(ctx context.Context, bus *nsbus.Bus) context.Context

func WithDB

func WithDB(ctx context.Context, db *gorm.DB) context.Context

func WithDota

func WithDota(ctx context.Context, dota *nsdota2.Client) context.Context

func WithDotaAPI

func WithDotaAPI(ctx context.Context, api *gsdota2.Client) context.Context

func WithLogger

func WithLogger(ctx context.Context, logger *nslog.Logger) context.Context

func WithRedis

func WithRedis(ctx context.Context, rds *nsrds.Redis) context.Context

func WithSteam

func WithSteam(ctx context.Context, steam *nssteam.Client) context.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL