runtime

package module
v0.0.0-...-d614328 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2023 License: MIT Imports: 0 Imported by: 4

README

Runtime

Runtime Go packages are for shared code between different Go-based services. This could live in a separate repository in future should other services require it.

interface/

const/

Documentation

Overview

Package runtime provides interfaces, consts, structs and implementations for the bot's services

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseConfig

type BaseConfig struct {
	LogFormat   string `envconfig:"LOG_FORMAT" required:"true"`
	LogLevel    string `envconfig:"LOG_LEVEL" required:"true"`
	ServiceName string `envconfig:"SERVICE_NAME" required:"true"`
}

BaseConfig defines the environment variables needed by all services

Directories

Path Synopsis
Package cache implements various types of interfaces.Cacher
Package cache implements various types of interfaces.Cacher
Package helpers implements various helper functions
Package helpers implements various helper functions
Package interfaces defines the behaviour of shared services
Package interfaces defines the behaviour of shared services
Package mock implements mocks for various runtime services
Package mock implements mocks for various runtime services
Package queue implements various types of interfaces.Queuer
Package queue implements various types of interfaces.Queuer
Package types implements shared types
Package types implements shared types

Jump to

Keyboard shortcuts

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