MCPcopy Create free account
hub / github.com/blobcache/blobcache / Service

Struct Service

src/bcremote/bcremote.go:50–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48var _ blobcache.Service = &Service{}
49
50type Service struct {
51 ep blobcache.Endpoint
52 node *bcnet.Node
53 pc net.PacketConn
54
55 cache *lru.Cache[blobcache.OID, *blobcache.TxInfo]
56 eg errgroup.Group
57 cf context.CancelFunc
58}
59
60// Close closes the Service.
61func (s *Service) Close() error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected