notify

package
v0.4.0-alpha Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Notify

type Notify struct {
	AtClient      *africastalking.AtClient
	AtShortCode   string
	CeloProvider  *celoutils.Provider
	DisablePush   bool
	GraphQLClient graphql.Client
	Logg          logf.Logger
	RedisClient   *redis.Client
	Store         store.Store
	TaskerClient  *tasker.TaskerClient
	TgClient      *tgbotapi.BotAPI
	Timezone      string
	Templates     *locale.Templates
}

func New

func New(o Opts) (*Notify, error)

type Opts

type Opts struct {
	AtApiKey          string
	AtUsername        string
	AtSandbox         bool
	AtShortCode       string
	CeloProvider      *celoutils.Provider
	DisablePush       bool
	HasuraAdminSecret string
	HasuraEndpoint    string
	Logg              logf.Logger
	RedisClient       *redis.Client
	Store             store.Store
	TaskerClient      *tasker.TaskerClient
	TgBotToken        string
	Timezone          string
}

Jump to

Keyboard shortcuts

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