hoarder

package
v0.2.14 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: BSD-3-Clause Imports: 2 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auction

type Auction struct {
	Type     AuctionType
	MetaType MetaType
	Meta     MetaData
	Lottery  Lottery
}

type AuctionType

type AuctionType int
const (
	AuctionNew AuctionType = iota
	AuctionIntent
	AuctionOffer
	AuctionEnd
)

type Client

type Client interface {
	Rare() ([]string, error)
	Stash(cid string) (response.Response, error)
	List() ([]string, error)
}

type Lottery

type Lottery struct {
	HoarderId string
	Number    uint64
}

type MetaData

type MetaData struct {
	ConfigId      string
	ProjectId     string
	ApplicationId string
	Match         string
	Branch        string
}

type MetaType

type MetaType int
const (
	Database MetaType = iota
	Storage
)

type Service

type Service interface {
	services.Service
}

Jump to

Keyboard shortcuts

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