Documentation ¶
Index ¶
- Constants
- type HostService
- func (hs *HostService) Get(key string) (chan interface{}, error)
- func (hs *HostService) Run(s inet.Stream)
- func (hs *HostService) Set(key string, value interface{}) error
- func (hs *HostService) Start(ctx context.Context) error
- func (hs *HostService) Stop() error
- func (hs *HostService) UpdateLocation(longitude, latitude float64)
Constants ¶
View Source
const ( NAME = "host" VERSION = 1 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostService ¶
type HostService struct { service.ApplicationContainer // contains filtered or unexported fields }
HostService represents a host service.
func (*HostService) Get ¶
func (hs *HostService) Get(key string) (chan interface{}, error)
Get implements service.ServiceData
func (*HostService) Run ¶
func (hs *HostService) Run(s inet.Stream)
func (*HostService) Set ¶
func (hs *HostService) Set(key string, value interface{}) error
Set implements service.ServiceData
func (*HostService) Stop ¶
func (hs *HostService) Stop() error
func (*HostService) UpdateLocation ¶
func (hs *HostService) UpdateLocation(longitude, latitude float64)
Click to show internal directories.
Click to hide internal directories.