registry

package
v0.0.0-...-31a4683 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config interface {
	GetInt(string) int
	GetString(string) string
	GetStringSlice(string) []string
	Get(string) any
}

type Email

type Email interface {
	SendEmail(to, subject, message string) error
}

type Logger

type Logger interface {
	Info(...any)
	Debug(...any)
	Warn(...any)
	Error(...any)
	Fatal(...any)
}

type Notificator

type Notificator interface {
	SendWebhook(url, message string)
}

type Registry

type Registry interface {
	GetRepository() Repository
	GetConfig() Config
	GetLogger() Logger
	GetNotificator() Notificator
	GetEmail() Email
}

type Repository

type Repository interface {
	repository.Repository
}

Jump to

Keyboard shortcuts

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