Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mybee
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
mybee
Commits
4016c051
Unverified
Commit
4016c051
authored
Feb 12, 2021
by
Rinke Hendriksen
Committed by
GitHub
Feb 12, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
godoc package documentation (#1152)
parent
d9e391a4
Changes
32
Hide whitespace changes
Inline
Side-by-side
Showing
32 changed files
with
91 additions
and
0 deletions
+91
-0
accounting.go
pkg/accounting/accounting.go
+2
-0
accounting.go
pkg/accounting/mock/accounting.go
+2
-0
api.go
pkg/api/api.go
+2
-0
bitvector.go
pkg/bitvector/bitvector.go
+2
-0
bmtpool.go
pkg/bmtpool/bmtpool.go
+2
-0
address.go
pkg/bzz/address.go
+3
-0
validator.go
pkg/content/validator.go
+1
-0
debugapi.go
pkg/debugapi/debugapi.go
+3
-0
discovery.go
pkg/discovery/discovery.go
+2
-0
encryption.go
pkg/encryption/encryption.go
+2
-0
hive.go
pkg/hive/hive.go
+6
-0
intervals.go
pkg/intervalstore/intervals.go
+5
-0
jsonhttp.go
pkg/jsonhttp/jsonhttp.go
+2
-0
logging.go
pkg/logging/logging.go
+2
-0
manifest.go
pkg/manifest/manifest.go
+3
-0
netstore.go
pkg/netstore/netstore.go
+4
-0
node.go
pkg/node/node.go
+3
-0
p2p.go
pkg/p2p/p2p.go
+2
-0
pingpong.go
pkg/pingpong/pingpong.go
+2
-0
pss.go
pkg/pss/pss.go
+5
-0
puller.go
pkg/puller/puller.go
+3
-0
pullsync.go
pkg/pullsync/pullsync.go
+2
-0
pusher.go
pkg/pusher/pusher.go
+4
-0
pushsync.go
pkg/pushsync/pushsync.go
+2
-0
retrieval.go
pkg/retrieval/retrieval.go
+4
-0
sctx.go
pkg/sctx/sctx.go
+2
-0
soc.go
pkg/soc/soc.go
+2
-0
doc.go
pkg/statestore/doc.go
+7
-0
store.go
pkg/storage/store.go
+2
-0
tags.go
pkg/tags/tags.go
+2
-0
topology.go
pkg/topology/topology.go
+2
-0
traversal.go
pkg/traversal/traversal.go
+4
-0
No files found.
pkg/accounting/accounting.go
View file @
4016c051
...
...
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package accounting provides functionalities needed
// to do per-peer accounting.
package
accounting
import
(
...
...
pkg/accounting/mock/accounting.go
View file @
4016c051
...
...
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package mock provides a mock implementation for the
// accounting interface.
package
mock
import
(
...
...
pkg/api/api.go
View file @
4016c051
...
...
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package api provides the functionality of the Bee
// client-facing HTTP API.
package
api
import
(
...
...
pkg/bitvector/bitvector.go
View file @
4016c051
...
...
@@ -14,6 +14,8 @@
// You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
// Package bitvector provides functionality of a
// simple bit vector implementation.
package
bitvector
import
(
...
...
pkg/bmtpool/bmtpool.go
View file @
4016c051
...
...
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package bmtpool provides easy access to binary
// merkle tree hashers managed in as a resource pool.
package
bmtpool
import
(
...
...
pkg/bzz/address.go
View file @
4016c051
...
...
@@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package bzz exposes the data structure and operations
// necessary on the bzz.Address type which used in the handshake
// protocol, address-book and hive protocol.
package
bzz
import
(
...
...
pkg/content/validator.go
View file @
4016c051
...
...
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package content exposes content-addressed validation.
package
content
import
(
...
...
pkg/debugapi/debugapi.go
View file @
4016c051
...
...
@@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package debugapi exposes the debug API used to
// control and analyze low-level and runtime
// features and functionalities of Bee.
package
debugapi
import
(
...
...
pkg/discovery/discovery.go
View file @
4016c051
...
...
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package discovery exposes the discovery driver interface
// which is implemented by discovery protocols.
package
discovery
import
(
...
...
pkg/encryption/encryption.go
View file @
4016c051
...
...
@@ -14,6 +14,8 @@
// You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
// Package encryption exposes functionalities needed for
// encryption and decryption operations in Bee.
package
encryption
import
(
...
...
pkg/hive/hive.go
View file @
4016c051
...
...
@@ -2,6 +2,12 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package hive exposes the hive protocol implementation
// which is the discovery protocol used to inform and be
// informed about other peers in the network. It gossips
// about all peers by default and performs no specific
// prioritization about which peers are gossipped to
// others.
package
hive
import
(
...
...
pkg/intervalstore/intervals.go
View file @
4016c051
...
...
@@ -14,6 +14,11 @@
// You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
// Package intervalstore provides a persistence layer
// for intervals relating to a peer. The store
// provides basic operation such as adding intervals to
// existing ones and persisting the results, as well as
// getting next interval for a peer.
package
intervalstore
import
(
...
...
pkg/jsonhttp/jsonhttp.go
View file @
4016c051
...
...
@@ -4,6 +4,8 @@
// Most of the code is copied from package resenje.org/jsonresponse.
// Package jsonhttp provides convenience methods to
// provide better JSON HTTP APIs.
package
jsonhttp
import
(
...
...
pkg/logging/logging.go
View file @
4016c051
...
...
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package logging provides the logger interface abstraction
// and implementation for Bee. It uses logrus under the hood.
package
logging
import
(
...
...
pkg/manifest/manifest.go
View file @
4016c051
...
...
@@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package manifest contains the abstractions needed for
// collection representation in Swarm. It uses implementations
// in ethersphere/manifest repo under the hood.
package
manifest
import
(
...
...
pkg/netstore/netstore.go
View file @
4016c051
...
...
@@ -2,6 +2,10 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package netstore provides an abstraction layer over the
// Swarm local storage layer that leverages connectivity
// with other peers in order to retrieve chunks from the network that cannot
// be found locally.
package
netstore
import
(
...
...
pkg/node/node.go
View file @
4016c051
...
...
@@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package node defines the concept of a Bee node
// by bootstrapping and injecting all necessary
// dependencies.
package
node
import
(
...
...
pkg/p2p/p2p.go
View file @
4016c051
...
...
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package p2p provides the peer-to-peer abstractions used
// across different protocols in Bee.
package
p2p
import
(
...
...
pkg/pingpong/pingpong.go
View file @
4016c051
...
...
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package pingpong exposes the simple ping-pong protocol
// which measures round-trip-time with other peers.
package
pingpong
import
(
...
...
pkg/pss/pss.go
View file @
4016c051
...
...
@@ -2,6 +2,11 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package pss exposes functionalities needed to communicate
// with other peers on the network. Pss uses pushsync and
// pullsync for message delivery and mailboxing. All messages are disguised as content-addressed chunks. Sending and
// receiving of messages is exposed over the HTTP API, with
// websocket subscriptions for incoming messages.
package
pss
import
(
...
...
pkg/puller/puller.go
View file @
4016c051
...
...
@@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package puller provides protocol-orchestrating functionality
// over the pullsync protocol. It pulls chunks from other nodes
// and reacts to changes in network configuration.
package
puller
import
(
...
...
pkg/pullsync/pullsync.go
View file @
4016c051
...
...
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package pullsync provides the pullsync protocol
// implementation.
package
pullsync
import
(
...
...
pkg/pusher/pusher.go
View file @
4016c051
...
...
@@ -2,6 +2,10 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// 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.
package
pusher
import
(
...
...
pkg/pushsync/pushsync.go
View file @
4016c051
...
...
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package pushsync provides the pushsync protocol
// implementation.
package
pushsync
import
(
...
...
pkg/retrieval/retrieval.go
View file @
4016c051
...
...
@@ -2,6 +2,10 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package retrieval provides the retrieval protocol
// implementation. The protocol is used to retrieve
// chunks over the network using forwarding-kademlia
// routing.
package
retrieval
import
(
...
...
pkg/sctx/sctx.go
View file @
4016c051
...
...
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.package storage
// Package sctx provides convenience methods for context
// value injection and extraction.
package
sctx
import
(
...
...
pkg/soc/soc.go
View file @
4016c051
...
...
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package soc provides the single-owner chunk implemenation
// and validator.
package
soc
import
(
...
...
pkg/statestore/doc.go
0 → 100644
View file @
4016c051
// Copyright 2021 The Swarm Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package statestore provides statestore implementation
// and mock. It uses leveldb under the hood.
package
statestore
pkg/storage/store.go
View file @
4016c051
...
...
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.package storage
// Package storage provides implementation contracts and notions
// used across storage-aware components in Bee.
package
storage
import
(
...
...
pkg/tags/tags.go
View file @
4016c051
...
...
@@ -14,6 +14,8 @@
// You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
// Package tags provides the implementation for
// upload progress tracking.
package
tags
import
(
...
...
pkg/topology/topology.go
View file @
4016c051
...
...
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package topology exposes abstractions needed in
// topology-aware components.
package
topology
import
(
...
...
pkg/traversal/traversal.go
View file @
4016c051
...
...
@@ -2,6 +2,10 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package traversal provides abstraction and implementation
// needed to traverse all chunks below a given root hash.
// It tries to parse all manifests and collections in its
// attempt to log all chunk addresses on the way.
package
traversal
import
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment