Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ClientServicePortDiff is the positive port diff for client service
ClientServicePortDiff = 5555
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is the client support service.
func New ¶
func New(stateReader func() (*state.DB, error), callFaucetContract func(common.Address) common.Hash, ip, nodePort string) *Service
New returns new client support service.
func (*Service) NotifyService ¶
NotifyService notify service
func (*Service) SetMessageChan ¶
SetMessageChan sets up message channel to service.
func (*Service) StartService ¶
func (s *Service) StartService()
StartService starts client support service.
func (*Service) StopService ¶
func (s *Service) StopService()
StopService stops client support service.
Click to show internal directories.
Click to hide internal directories.