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 ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { StatLogger *log.Logger // logger to log stats StatReportFrequency time.Duration // how often to log stats // contains filtered or unexported fields }
Server is an instance of a peer server that houses the listener and store.
Click to show internal directories.
Click to hide internal directories.