Documentation ¶
Overview ¶
Package client contains the client initialization function.
Index ¶
- func InitAWS(ctx context.Context, logger *otelzap.Logger, cfg *configs.AWS) *s3.S3
- func InitCentrifugo(ctx context.Context, logger *otelzap.Logger, conf *configs.Centrifugo) *gocent.Client
- func InitDiscord(ctx context.Context, logger *otelzap.Logger, conf *configs.Discord) *discordgo.Session
- func InitMailGun(ctx context.Context, logger *otelzap.Logger, conf *configs.Mailgun) *mailgun.MailgunImpl
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitCentrifugo ¶
func InitCentrifugo(ctx context.Context, logger *otelzap.Logger, conf *configs.Centrifugo) *gocent.Client
InitCentrifugo will return a centrifugo client initialized (PubSub)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.