Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindLastStaticDumpChecksum ¶
FindLastStaticDumpChecksum returns the URL of the last eve static data dump
Types ¶
type Blueprint ¶
type Blueprint struct { BlueprintTypeID int64 `yaml:"blueprintTypeID"` Activities struct { Manufacturing struct { Materials []struct { Quantity int64 TypeID int64 `yaml:"typeID"` } Products []struct { Quantity int64 TypeID int64 `yaml:"typeID"` } } } }
Blueprint is an eve online blueprint
type StaticFetcher ¶
type StaticFetcher struct {
// contains filtered or unexported fields
}
StaticFetcher continually fetches a new static dump and updates the type database with the current types
func NewStaticFetcher ¶
func NewStaticFetcher(client *pester.Client, dbPath string, callback func(typeDB typedb.TypeDB)) (*StaticFetcher, error)
NewStaticFetcher returns a new static data fetcher
func (*StaticFetcher) RunOnce ¶
func (f *StaticFetcher) RunOnce() error
RunOnce will fetch, parse and call the callback with a fresh type database
Click to show internal directories.
Click to hide internal directories.