config

package
v0.0.0-...-9fbc374 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PORT     = "PORT"
	NATS_URL = "NATS_URL"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigInterface

type ConfigInterface interface {
	GetListeningPort() int
	GetNatsUrl() string
}

ConfigInterface defines the contracts for a configuration service

func NewConfigService

func NewConfigService() (ConfigInterface, error)

NewConfigService create a concerete instance of ConfigInterface interface

Directories

Path Synopsis
Package mock_config is a generated GoMock package.
Package mock_config is a generated GoMock package.

Jump to

Keyboard shortcuts

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