bootstrap

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: 10 Imported by: 1

Documentation

Index

Constants

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

Name and Version of this service.

Variables

This section is empty.

Functions

This section is empty.

Types

type BootstrapService

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

HostService represents a host service.

func NewBootstrapService

func NewBootstrapService(ann bool, rPoint string, bList []string, d time.Duration) *BootstrapService

NewBootstrapService creates a new BootstrapService.

func (*BootstrapService) Get

func (bs *BootstrapService) Get(key string) (chan interface{}, error)

Get implements service.ServiceData

func (*BootstrapService) Run

func (bs *BootstrapService) Run(s inet.Stream)

func (*BootstrapService) Set

func (bs *BootstrapService) Set(key string, value interface{}) error

Set implements service.ServiceData

func (*BootstrapService) Start

func (bs *BootstrapService) Start(ctx context.Context) error

func (*BootstrapService) Stop

func (bs *BootstrapService) Stop() error

func (*BootstrapService) WriteTemp

func (bs *BootstrapService) WriteTemp() error

Jump to

Keyboard shortcuts

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