Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DefaultPort is the port the peer server listens on if not passed in. DefaultPort = 3333 // LbrycrdAddress to be used when paying for data. Not implemented yet. LbrycrdAddress = "bJxKvpD96kaJLriqVajZ7SaQTsWWyrGQct" )
Variables ¶
View Source
var ErrBlobExists = errors.Base("blob exists on server")
ErrBlobExists is a default error for when a blob already exists on the reflector server.
Functions ¶
This section is empty.
Types ¶
type Client ¶ added in v1.1.1
Client is an instance of a client connected to a server.
func (*Client) Connect ¶ added in v1.1.1
Connect connects to a specific clients and errors if it cannot be contacted.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is an instance of a peer server that houses the listener and store.
type Store ¶ added in v1.1.1
type Store struct {
// contains filtered or unexported fields
}
Store is a blob store that gets blobs from a peer. It satisfies the store.BlobStore interface but cannot put or delete blobs.
Click to show internal directories.
Click to hide internal directories.