speculators

package
v0.0.0-...-37aa375 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL