config

package
v0.0.0-...-6e6bb61 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

func New

func New(getter kv.Getter) Config

type Notificator

type Notificator interface {
	NotificatorConfig() *NotificatorConfig
}

func NewNotificator

func NewNotificator(getter kv.Getter) Notificator

type NotificatorConfig

type NotificatorConfig struct {
	DefaultChannelsPriority []string `fig:"default_channels_priority,required"`
	DefaultLocale           string   `fig:"default_locale"`
}

type RegistrationAPIer

type RegistrationAPIer interface {
	RegistrationAPIListener() net.Listener
}

func NewRegistrationAPIer

func NewRegistrationAPIer(getter kv.Getter) RegistrationAPIer

type S3

type S3 interface {
	AwsConfig() *aws.Config
	Bucket() string
}

func NewS3

func NewS3(getter kv.Getter) S3

Jump to

Keyboard shortcuts

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