space

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2020 License: ISC Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Space

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

func NewSpace

func NewSpace(config *SpaceConfigInput) *Space

func (*Space) GetCache

func (s *Space) GetCache() ttcache.ICacheCache

func (*Space) Initialize

func (s *Space) Initialize() error

func (*Space) IsServing

func (s *Space) IsServing() bool

func (*Space) Reset

func (s *Space) Reset(newConfig *ttutils.ConfigRoot) (*Space, error)

func (*Space) Shutdown

func (s *Space) Shutdown() error

func (*Space) Start

func (s *Space) Start() error

type SpaceConfigInput

type SpaceConfigInput struct {
	Config           *ttutils.ConfigRoot
	ServeConnHandler tthandler.IServeConnHandler
	PrometheusFire   func(*ttprom.PrometheusMetric) error
	Logger           *logrus.Entry
	Context          context.Context
}

Jump to

Keyboard shortcuts

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