refImpl

package
v0.0.0-...-30e1d48 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2019 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Log               log.Config
	Nats              nats.Config
	MongoDB           mongodb.Config
	Service           service.Config
	GoRoutinePoolSize int `envconfig:"GOROUTINE_POOL_SIZE" default:"16"`
}

func (Config) String

func (c Config) String() string

String return string representation of Config

type RefImpl

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

func Init

func Init(config Config) (*RefImpl, error)

func (*RefImpl) ListenAndServe

func (r *RefImpl) ListenAndServe() error

func (*RefImpl) Shutdown

func (r *RefImpl) Shutdown() error

Jump to

Keyboard shortcuts

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