startup

package
v0.0.0-...-c5a58e0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDetector

func GetDetector() (propchange.Detector, error)

GetDetector gets a detector

func GetRegistry

func GetRegistry() (jsonball.Registry, error)

GetRegistry gets a registry

func GetSqsClient

func GetSqsClient(ctx context.Context) (*sqs.Client, error)

GetSqsClient gets an sqs client

func MustGetDetector

func MustGetDetector() propchange.Detector

MustGetDetector gets an connector, otherwise panics

func MustGetEnvVar

func MustGetEnvVar(name string) string

MustGetEnvVar gets an environment variable, otherwise panics

func MustGetRegistry

func MustGetRegistry() jsonball.Registry

MustGetRegistry gets a registry, otherwise panics

func MustGetSqsClient

func MustGetSqsClient() *sqs.Client

MustGetSqsClient like GetSqsClient but panics if an error happened

Types

type ErrEnvVarNotSet

type ErrEnvVarNotSet string

ErrEnvVarNotSet indicates that an important environment variable is missing

func (ErrEnvVarNotSet) Error

func (e ErrEnvVarNotSet) Error() string

Jump to

Keyboard shortcuts

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