Documentation ¶
Index ¶
- type Superviser
- func (s *Superviser) GetCommand() string
- func (s *Superviser) GetName() string
- func (s *Superviser) LastSeenBlockNum() uint64
- func (s *Superviser) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (s *Superviser) ServerID() (string, error)
- func (s *Superviser) SetLastBlockSeen(blockNum uint64)
- func (s *Superviser) Start(options ...nodeManager.StartOption) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Superviser ¶
type Superviser struct { *superviser.Superviser // contains filtered or unexported fields }
func NewSuperviser ¶
func (*Superviser) GetCommand ¶
func (s *Superviser) GetCommand() string
func (*Superviser) GetName ¶
func (s *Superviser) GetName() string
func (*Superviser) LastSeenBlockNum ¶
func (s *Superviser) LastSeenBlockNum() uint64
func (*Superviser) MarshalLogObject ¶
func (s *Superviser) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*Superviser) ServerID ¶
func (s *Superviser) ServerID() (string, error)
func (*Superviser) SetLastBlockSeen ¶
func (s *Superviser) SetLastBlockSeen(blockNum uint64)
FIXME: Right now we have the real version because our "Block" are actual Aptos transaction but if we change so that a `Block` becomes a set of transactions, then we need to change here.
func (*Superviser) Start ¶
func (s *Superviser) Start(options ...nodeManager.StartOption) error
Click to show internal directories.
Click to hide internal directories.