Documentation ¶
Overview ¶
Package pusher provides protocol-orchestrating functionality over the pushsync protocol. It makes sure that chunks meant to be distributed over the network are sent used using the pushsync protocol.
Index ¶
Constants ¶
View Source
const ( ConcurrentPushes = 100 // how many chunks to push simultaneously DefaultRetryCount = 6 )
Variables ¶
View Source
var (
ErrInvalidAddress = errors.New("invalid address")
)
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) Metrics ¶
func (s *Service) Metrics() []prometheus.Collector
type Storer ¶
type Storer interface { storage.PushReporter storage.PushSubscriber ReservePutter() storage.Putter }
Click to show internal directories.
Click to hide internal directories.