Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository struct { Speculators map[uint]*_speculator.Speculator // contains filtered or unexported fields }
func DecodeState ¶
func DecodeState(filePath string, config _speculator.Config) (*Repository, error)
func NewMapRepository ¶
func NewMapRepository(config _speculator.Config) *Repository
func (*Repository) EncodeState ¶
func (r *Repository) EncodeState(filePath string) error
func (*Repository) Get ¶
func (r *Repository) Get(speculatorID uint) *_speculator.Speculator
Click to show internal directories.
Click to hide internal directories.