Documentation
¶
Index ¶
- Constants
- type Service
- func (s *Service) APIs() []rpc.API
- func (s *Service) DoService()
- func (s *Service) Init()
- func (s *Service) NotifyService(params map[string]interface{})
- func (s *Service) Run(stopChan chan struct{}, stoppedChan chan struct{})
- func (s *Service) SetMessageChan(messageChan chan *msg_pb.Message)
- func (s *Service) StartService()
- func (s *Service) StopService()
Constants ¶
View Source
const (
ReshardingCheckTime = time.Second
)
Constants for resharding service.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is the role conversion service.
func (*Service) NotifyService ¶
NotifyService notify service
func (*Service) Run ¶
func (s *Service) Run(stopChan chan struct{}, stoppedChan chan struct{})
Run runs role conversion.
func (*Service) SetMessageChan ¶
SetMessageChan sets up message channel to service.
func (*Service) StartService ¶
func (s *Service) StartService()
StartService starts role conversion service.
func (*Service) StopService ¶
func (s *Service) StopService()
StopService stops role conversion service.
Click to show internal directories.
Click to hide internal directories.