internal

package
v0.0.0-...-ff4c1db Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2024 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetString

func GetString(key, fallback string) string

Types

type Configuration

type Configuration struct {
	Region      string
	Environment string
	HTTPPort    string
	GRPCPort    string
	DatabaseURL string
}

func NewConfiguration

func NewConfiguration() (*Configuration, error)

type MJURLService

type MJURLService struct {
	// contains filtered or unexported fields
}

func NewMJURLService

func NewMJURLService() (*MJURLService, error)

func (*MJURLService) Run

func (s *MJURLService) Run() error

Run starts the service

func (*MJURLService) Shutdown

func (s *MJURLService) Shutdown()

Shutdown shuts down the service

func (*MJURLService) StartGRPC

func (s *MJURLService) StartGRPC(ctx context.Context) error

func (*MJURLService) StartHTTP

func (s *MJURLService) StartHTTP(ctx context.Context) error

Directories

Path Synopsis
transport
api
utils
log

Jump to

Keyboard shortcuts

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