infra

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NAME    = "infra"
	VERSION = 1
)

Variables

This section is empty.

Functions

This section is empty.

Types

type InfraService

type InfraService struct {
	service.ApplicationContainer
	// contains filtered or unexported fields
}

func NewInfraService

func NewInfraService() *InfraService

func (*InfraService) Get

func (is *InfraService) Get(key string) (chan interface{}, error)

Get implements service.ServiceData

func (*InfraService) Run

func (is *InfraService) Run(inet.Stream)

func (*InfraService) Set

func (is *InfraService) Set(key string, value interface{}) error

Set implements service.ServiceData

func (*InfraService) Some

func (hs *InfraService) Some()

func (*InfraService) Start

func (is *InfraService) Start(ctx context.Context) error

func (*InfraService) Stop

func (is *InfraService) Stop() error

Jump to

Keyboard shortcuts

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