Documentation ¶
Index ¶
Constants ¶
View Source
const RW = 0600
RW grants -rw------- file permissions
View Source
const RWX = 0700
RWX grants -rwx------ file permissions
Variables ¶
This section is empty.
Functions ¶
func GetHealthCheckCommand ¶
GetHealthCheckCommand returns the command to execute a node health check
func GetValdCommand ¶
GetValdCommand returns the command to start vald
Types ¶
type RWFile ¶
type RWFile struct {
// contains filtered or unexported fields
}
RWFile implements the ReadWriter interface for an underlying file
type ReadWriter ¶
ReadWriter represents a data source/sink
type StateStore ¶
type StateStore struct {
// contains filtered or unexported fields
}
StateStore manages event state persistence
func NewStateStore ¶
func NewStateStore(rw ReadWriter) StateStore
NewStateStore returns a new StateStore instance
func (StateStore) GetState ¶
func (s StateStore) GetState() (completed int64, err error)
GetState returns the stored block height for which all events have been published
func (StateStore) SetState ¶
func (s StateStore) SetState(completed int64) error
SetState persists the block height for which all events have been published
Click to show internal directories.
Click to hide internal directories.