hoarder

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: BSD-3-Clause Imports: 3 Imported by: 0

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)
	Peers(...peerCore.ID) Client
	Close()
}

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