Documentation
¶
Index ¶
- Constants
- Variables
- func IsValidSessionID(sessionID string) error
- func Main(version string, fn MainFn) cliapp.LifecycleAction
- type MainFn
- type Service
- func (s *Service) RPC() string
- func (s *Service) Start(ctx context.Context) error
- func (s *Service) Stop(ctx context.Context) error
- func (s *Service) Stopped() bool
- func (s *Service) SyncTesterRPC(chainID eth.ChainID, withSessionID bool) string
- func (s *Service) SyncTesterRPCPath(chainID eth.ChainID, withSessionID bool) string
- func (s *Service) SyncTesters() map[sttypes.SyncTesterID]eth.ChainID
Constants ¶
View Source
const ELSyncActiveKey = "el_sync_active"
Variables ¶
View Source
var ErrInvalidParams = errors.New("invalid param")
View Source
var ErrInvalidSessionIDFormat = errors.New("invalid UUID")
Functions ¶
func IsValidSessionID ¶
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func FromConfig ¶
func (*Service) SyncTesterRPC ¶
func (*Service) SyncTesterRPCPath ¶
func (*Service) SyncTesters ¶
func (s *Service) SyncTesters() map[sttypes.SyncTesterID]eth.ChainID
Click to show internal directories.
Click to hide internal directories.