Documentation
¶
Index ¶
- Constants
- type BootstrapService
- func (bs *BootstrapService) Get(key string) (chan interface{}, error)
- func (bs *BootstrapService) Run(s inet.Stream)
- func (bs *BootstrapService) Set(key string, value interface{}) error
- func (bs *BootstrapService) Start(ctx context.Context) error
- func (bs *BootstrapService) Stop() error
- func (bs *BootstrapService) WriteTemp() error
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) Stop ¶
func (bs *BootstrapService) Stop() error
func (*BootstrapService) WriteTemp ¶
func (bs *BootstrapService) WriteTemp() error
Click to show internal directories.
Click to hide internal directories.