Documentation ¶
Index ¶
- type Interface
- type Service
- func (s *Service) API() rpc.API
- func (s *Service) Config(chunkInfo chunkinfo.Interface)
- func (s *Service) GetRouteScore(time int64) map[string]int64
- func (s *Service) Metrics() []prometheus.Collector
- func (s *Service) Protocol() p2p.ProtocolSpec
- func (s *Service) RetrieveChunk(ctx context.Context, rootAddr, chunkAddr boson.Address) (chunk boson.Chunk, err error)
- func (s *Service) RetrieveChunkFromNode(ctx context.Context, targetNode boson.Address, ...) (boson.Chunk, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) GetRouteScore ¶ added in v1.1.0
func (*Service) Metrics ¶
func (s *Service) Metrics() []prometheus.Collector
func (*Service) Protocol ¶
func (s *Service) Protocol() p2p.ProtocolSpec
func (*Service) RetrieveChunk ¶
Click to show internal directories.
Click to hide internal directories.