environment

package
v0.0.0-...-3e4a122 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceImpl

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

Environment this object keep the all variables environment

func New

func New() *ServiceImpl

func (*ServiceImpl) CacheAddress

func (s *ServiceImpl) CacheAddress() string

func (*ServiceImpl) Close

func (s *ServiceImpl) Close() error

func (*ServiceImpl) DatabaseDsn

func (s *ServiceImpl) DatabaseDsn() string

func (*ServiceImpl) DebugPprof

func (s *ServiceImpl) DebugPprof() bool

func (*ServiceImpl) Environment

func (s *ServiceImpl) Environment() string

func (*ServiceImpl) Init

func (s *ServiceImpl) Init(ctx context.Context) error

func (*ServiceImpl) Service

func (s *ServiceImpl) Service() string

func (*ServiceImpl) ServiceManager

func (s *ServiceImpl) ServiceManager() services.ServiceManager

func (*ServiceImpl) Version

func (s *ServiceImpl) Version() string

func (*ServiceImpl) WithServiceManager

func (s *ServiceImpl) WithServiceManager(c services.ServiceManager) services.Environment

Jump to

Keyboard shortcuts

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