|
| https://go.dev/ |
| Skip to Main Content | https://pkg.go.dev/github.com/m-sossich/note#main-content |
|
Why Go
| https://pkg.go.dev/github.com/m-sossich/note |
|
Case Studies
| https://go.dev/solutions#case-studies |
|
Use Cases
| https://go.dev/solutions#use-cases |
|
Security
| https://go.dev/security/ |
| Learn | https://go.dev/learn/ |
|
Docs
| https://pkg.go.dev/github.com/m-sossich/note |
|
Effective Go
| https://go.dev/doc/effective_go |
|
Go User Manual
| https://go.dev/doc/ |
|
Standard library
| https://pkg.go.dev/std |
|
Release Notes
| https://go.dev/doc/devel/release |
|
API
| https://pkg.go.dev/api |
| Packages | https://pkg.go.dev/ |
|
Community
| https://pkg.go.dev/github.com/m-sossich/note |
|
Recorded Talks
| https://go.dev/talks/ |
|
Meetups
| https://www.meetup.com/pro/go |
|
Conferences
| https://github.com/golang/go/wiki/Conferences |
|
Go blog
| https://go.dev/blog |
|
Go project
| https://go.dev/help |
|
| https://groups.google.com/g/golang-nuts |
|
| https://github.com/golang |
|
| https://twitter.com/golang |
|
| https://www.reddit.com/r/golang/ |
|
| https://invite.slack.golangbridge.org/ |
|
| https://stackoverflow.com/collectives/go |
|
| https://go.dev/ |
|
Why Go
| https://pkg.go.dev/github.com/m-sossich/note |
|
Why Go
| https://pkg.go.dev/github.com/m-sossich/note |
|
Case Studies
| https://go.dev/solutions#case-studies |
|
Use Cases
| https://go.dev/solutions#use-cases |
|
Security
| https://go.dev/security/ |
| Learn | https://go.dev/learn/ |
|
Docs
| https://pkg.go.dev/github.com/m-sossich/note |
|
Docs
| https://pkg.go.dev/github.com/m-sossich/note |
|
Effective Go
| https://go.dev/doc/effective_go |
|
Go User Manual
| https://go.dev/doc/ |
|
Standard library
| https://pkg.go.dev/std |
|
Release Notes
| https://go.dev/doc/devel/release |
|
API
| https://pkg.go.dev/api |
| Packages | https://pkg.go.dev/ |
|
Community
| https://pkg.go.dev/github.com/m-sossich/note |
|
Community
| https://pkg.go.dev/github.com/m-sossich/note |
|
Recorded Talks
| https://go.dev/talks/ |
|
Meetups
| https://www.meetup.com/pro/go |
|
Conferences
| https://github.com/golang/go/wiki/Conferences |
|
Go blog
| https://go.dev/blog |
|
Go project
| https://go.dev/help |
| https://groups.google.com/g/golang-nuts |
| https://github.com/golang |
| https://twitter.com/golang |
| https://www.reddit.com/r/golang/ |
| https://invite.slack.golangbridge.org/ |
| https://stackoverflow.com/collectives/go |
| Discover Packages | https://pkg.go.dev/ |
|
github.com/m-sossich/note
| https://pkg.go.dev/github.com/m-sossich/note@v0.1.0 |
|
| https://go.dev/ |
|
Version:
v0.1.0
| https://pkg.go.dev/github.com/m-sossich/note?tab=versions |
|
Go to latest
| https://pkg.go.dev/github.com/m-sossich/note |
| MIT | https://pkg.go.dev/github.com/m-sossich/note?tab=licenses |
|
Imports: 18
| https://pkg.go.dev/github.com/m-sossich/note?tab=imports |
|
Imported by: 0
| https://pkg.go.dev/github.com/m-sossich/note?tab=importedby |
| go.mod | https://github.com/m-sossich/note/tree/v0.1.0/go.mod |
| Learn more about best practices | https://pkg.go.dev/about#best-practices |
|
github.com/m-sossich/note
| https://github.com/m-sossich/note |
|
Open Source Insights
| https://deps.dev/go/github.com%2Fm-sossich%2Fnote/v0.1.0 |
|
README
| https://pkg.go.dev/github.com/m-sossich/note#section-readme |
|
Specifications
| https://pkg.go.dev/github.com/m-sossich/note#readme-specifications |
|
Quick start
| https://pkg.go.dev/github.com/m-sossich/note#readme-quick-start |
|
Handlers
| https://pkg.go.dev/github.com/m-sossich/note#readme-handlers |
|
WithHandlerFactory
| https://pkg.go.dev/github.com/m-sossich/note#readme-withhandlerfactory |
|
Sending messages
| https://pkg.go.dev/github.com/m-sossich/note#readme-sending-messages |
|
Peer lifecycle hooks
| https://pkg.go.dev/github.com/m-sossich/note#readme-peer-lifecycle-hooks |
|
DHT
| https://pkg.go.dev/github.com/m-sossich/note#readme-dht |
|
Bootstrap node
| https://pkg.go.dev/github.com/m-sossich/note#readme-bootstrap-node |
|
Verified mode
| https://pkg.go.dev/github.com/m-sossich/note#readme-verified-mode |
|
Options reference
| https://pkg.go.dev/github.com/m-sossich/note#readme-options-reference |
|
Rate limiting
| https://pkg.go.dev/github.com/m-sossich/note#readme-rate-limiting |
|
Request/response protocols
| https://pkg.go.dev/github.com/m-sossich/note#readme-request-response-protocols |
|
Advanced: low-level API
| https://pkg.go.dev/github.com/m-sossich/note#readme-advanced-low-level-api |
|
Custom codec
| https://pkg.go.dev/github.com/m-sossich/note#readme-custom-codec |
|
Custom transport
| https://pkg.go.dev/github.com/m-sossich/note#readme-custom-transport |
|
Custom handshaker
| https://pkg.go.dev/github.com/m-sossich/note#readme-custom-handshaker |
|
Max frame size
| https://pkg.go.dev/github.com/m-sossich/note#readme-max-frame-size |
|
Peer limits
| https://pkg.go.dev/github.com/m-sossich/note#readme-peer-limits |
|
Demos
| https://pkg.go.dev/github.com/m-sossich/note#readme-demos |
|
Testing
| https://pkg.go.dev/github.com/m-sossich/note#readme-testing |
|
Documentation
| https://pkg.go.dev/github.com/m-sossich/note#section-documentation |
| Overview | https://pkg.go.dev/github.com/m-sossich/note#pkg-overview |
|
Index
| https://pkg.go.dev/github.com/m-sossich/note#pkg-index |
|
Constants
| https://pkg.go.dev/github.com/m-sossich/note#pkg-constants |
|
Variables
| https://pkg.go.dev/github.com/m-sossich/note#pkg-variables |
|
Functions
| https://pkg.go.dev/github.com/m-sossich/note#pkg-functions |
|
LoadOrGenerateID(path)
| https://pkg.go.dev/github.com/m-sossich/note#LoadOrGenerateID |
|
Types
| https://pkg.go.dev/github.com/m-sossich/note#pkg-types |
|
type ConnInfo
| https://pkg.go.dev/github.com/m-sossich/note#ConnInfo |
|
type Handler
| https://pkg.go.dev/github.com/m-sossich/note#Handler |
|
type Message
| https://pkg.go.dev/github.com/m-sossich/note#Message |
|
Msg(protocol, msgType, payload)
| https://pkg.go.dev/github.com/m-sossich/note#Msg |
|
type Option
| https://pkg.go.dev/github.com/m-sossich/note#Option |
|
WithAdvertiseAddr(addr)
| https://pkg.go.dev/github.com/m-sossich/note#WithAdvertiseAddr |
|
WithBootstrap(addrs)
| https://pkg.go.dev/github.com/m-sossich/note#WithBootstrap |
|
WithCodec(c)
| https://pkg.go.dev/github.com/m-sossich/note#WithCodec |
|
WithDHT(cfg)
| https://pkg.go.dev/github.com/m-sossich/note#WithDHT |
|
WithHandler(protocol, handler)
| https://pkg.go.dev/github.com/m-sossich/note#WithHandler |
|
WithHandlerFactory(factory)
| https://pkg.go.dev/github.com/m-sossich/note#WithHandlerFactory |
|
WithHandshakeTimeout(d)
| https://pkg.go.dev/github.com/m-sossich/note#WithHandshakeTimeout |
|
WithIdentityPath(path)
| https://pkg.go.dev/github.com/m-sossich/note#WithIdentityPath |
|
WithMaxFrameSize(bytes)
| https://pkg.go.dev/github.com/m-sossich/note#WithMaxFrameSize |
|
WithMaxInboundPeers(n)
| https://pkg.go.dev/github.com/m-sossich/note#WithMaxInboundPeers |
|
WithMaxPeers(n)
| https://pkg.go.dev/github.com/m-sossich/note#WithMaxPeers |
|
WithMaxPendingPeers(n)
| https://pkg.go.dev/github.com/m-sossich/note#WithMaxPendingPeers |
|
WithPeerConnected(fn)
| https://pkg.go.dev/github.com/m-sossich/note#WithPeerConnected |
|
WithPeerDisconnected(fn)
| https://pkg.go.dev/github.com/m-sossich/note#WithPeerDisconnected |
|
WithPingInterval(d)
| https://pkg.go.dev/github.com/m-sossich/note#WithPingInterval |
|
WithPingMaxMissed(n)
| https://pkg.go.dev/github.com/m-sossich/note#WithPingMaxMissed |
|
WithProtocolFrameSize(protocol, bytes)
| https://pkg.go.dev/github.com/m-sossich/note#WithProtocolFrameSize |
|
type Peer
| https://pkg.go.dev/github.com/m-sossich/note#Peer |
|
NewPeer(addr, opts)
| https://pkg.go.dev/github.com/m-sossich/note#NewPeer |
|
NewVerifiedPeer(kp, addr, opts)
| https://pkg.go.dev/github.com/m-sossich/note#NewVerifiedPeer |
|
(p) Addr()
| https://pkg.go.dev/github.com/m-sossich/note#Peer.Addr |
|
(p) Announce(ctx, key, value)
| https://pkg.go.dev/github.com/m-sossich/note#Peer.Announce |
|
(p) Broadcast(msg)
| https://pkg.go.dev/github.com/m-sossich/note#Peer.Broadcast |
|
(p) Close()
| https://pkg.go.dev/github.com/m-sossich/note#Peer.Close |
|
(p) ConnectionInfo(peerID)
| https://pkg.go.dev/github.com/m-sossich/note#Peer.ConnectionInfo |
|
(p) FindProviders(ctx, key)
| https://pkg.go.dev/github.com/m-sossich/note#Peer.FindProviders |
|
(p) ID()
| https://pkg.go.dev/github.com/m-sossich/note#Peer.ID |
|
(p) Lookup(ctx, key)
| https://pkg.go.dev/github.com/m-sossich/note#Peer.Lookup |
|
(p) Peers()
| https://pkg.go.dev/github.com/m-sossich/note#Peer.Peers |
|
(p) Send(peerID, msg)
| https://pkg.go.dev/github.com/m-sossich/note#Peer.Send |
|
type ProviderRecord
| https://pkg.go.dev/github.com/m-sossich/note#ProviderRecord |
|
type StoreResult
| https://pkg.go.dev/github.com/m-sossich/note#StoreResult |
|
Source Files
| https://pkg.go.dev/github.com/m-sossich/note#section-sourcefiles |
|
Directories
| https://pkg.go.dev/github.com/m-sossich/note#section-directories |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#section-readme |
| https://github.com/m-sossich/note/actions/workflows/go.yml |
| https://codecov.io/gh/m-sossich/note |
| https://goreportcard.com/report/github.com/m-sossich/note |
| https://pkg.go.dev/github.com/m-sossich/note |
| spec/ | https://github.com/m-sossich/note/blob/v0.1.0/spec |
| spec/00-intro.md | https://github.com/m-sossich/note/blob/v0.1.0/spec/00-intro.md |
| spec/01-wire.md | https://github.com/m-sossich/note/blob/v0.1.0/spec/01-wire.md |
| spec/02-node.md | https://github.com/m-sossich/note/blob/v0.1.0/spec/02-node.md |
| spec/03-discovery.md | https://github.com/m-sossich/note/blob/v0.1.0/spec/03-discovery.md |
| spec/04-dht.md | https://github.com/m-sossich/note/blob/v0.1.0/spec/04-dht.md |
| spec/04-dht.md | https://github.com/m-sossich/note/blob/v0.1.0/spec/04-dht.md |
| chat/README.md | https://github.com/m-sossich/note/blob/v0.1.0/demo/chat/README.md |
| cas/README.md | https://github.com/m-sossich/note/blob/v0.1.0/demo/cas/README.md |
| gossip/README.md | https://github.com/m-sossich/note/blob/v0.1.0/demo/gossip/README.md |
| fileshare/README.md | https://github.com/m-sossich/note/blob/v0.1.0/demo/fileshare/README.md |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#section-documentation |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#pkg-overview |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#pkg-index |
| func LoadOrGenerateID(path string) (string, error) | https://pkg.go.dev/github.com/m-sossich/note#LoadOrGenerateID |
| type ConnInfo | https://pkg.go.dev/github.com/m-sossich/note#ConnInfo |
| type Handler | https://pkg.go.dev/github.com/m-sossich/note#Handler |
| type Message | https://pkg.go.dev/github.com/m-sossich/note#Message |
| func Msg(protocol, msgType string, payload any) Message | https://pkg.go.dev/github.com/m-sossich/note#Msg |
| type Option | https://pkg.go.dev/github.com/m-sossich/note#Option |
| func WithAdvertiseAddr(addr string) Option | https://pkg.go.dev/github.com/m-sossich/note#WithAdvertiseAddr |
| func WithBootstrap(addrs ...string) Option | https://pkg.go.dev/github.com/m-sossich/note#WithBootstrap |
| func WithCodec(c codec.Codec) Option | https://pkg.go.dev/github.com/m-sossich/note#WithCodec |
| func WithDHT(cfg ...dht.Config) Option | https://pkg.go.dev/github.com/m-sossich/note#WithDHT |
| func WithHandler(protocol string, handler Handler) Option | https://pkg.go.dev/github.com/m-sossich/note#WithHandler |
| func WithHandlerFactory(factory func(node.Node)) Option | https://pkg.go.dev/github.com/m-sossich/note#WithHandlerFactory |
| func WithHandshakeTimeout(d time.Duration) Option | https://pkg.go.dev/github.com/m-sossich/note#WithHandshakeTimeout |
| func WithIdentityPath(path string) Option | https://pkg.go.dev/github.com/m-sossich/note#WithIdentityPath |
| func WithMaxFrameSize(bytes uint32) Option | https://pkg.go.dev/github.com/m-sossich/note#WithMaxFrameSize |
| func WithMaxInboundPeers(n int) Option | https://pkg.go.dev/github.com/m-sossich/note#WithMaxInboundPeers |
| func WithMaxPeers(n int) Option | https://pkg.go.dev/github.com/m-sossich/note#WithMaxPeers |
| func WithMaxPendingPeers(n int) Option | https://pkg.go.dev/github.com/m-sossich/note#WithMaxPendingPeers |
| func WithPeerConnected(fn func(peerID string)) Option | https://pkg.go.dev/github.com/m-sossich/note#WithPeerConnected |
| func WithPeerDisconnected(fn func(peerID string)) Option | https://pkg.go.dev/github.com/m-sossich/note#WithPeerDisconnected |
| func WithPingInterval(d time.Duration) Option | https://pkg.go.dev/github.com/m-sossich/note#WithPingInterval |
| func WithPingMaxMissed(n int) Option | https://pkg.go.dev/github.com/m-sossich/note#WithPingMaxMissed |
| func WithProtocolFrameSize(protocol string, bytes uint32) Option | https://pkg.go.dev/github.com/m-sossich/note#WithProtocolFrameSize |
| type Peer | https://pkg.go.dev/github.com/m-sossich/note#Peer |
| func NewPeer(addr string, opts ...Option) (*Peer, error) | https://pkg.go.dev/github.com/m-sossich/note#NewPeer |
| func NewVerifiedPeer(kp *identity.Keypair, addr string, opts ...Option) (*Peer, error) | https://pkg.go.dev/github.com/m-sossich/note#NewVerifiedPeer |
| func (p *Peer) Addr() string | https://pkg.go.dev/github.com/m-sossich/note#Peer.Addr |
| func (p *Peer) Announce(ctx context.Context, key, value []byte) (StoreResult, error) | https://pkg.go.dev/github.com/m-sossich/note#Peer.Announce |
| func (p *Peer) Broadcast(msg Message) int | https://pkg.go.dev/github.com/m-sossich/note#Peer.Broadcast |
| func (p *Peer) Close() error | https://pkg.go.dev/github.com/m-sossich/note#Peer.Close |
| func (p *Peer) ConnectionInfo(peerID string) (ConnInfo, bool) | https://pkg.go.dev/github.com/m-sossich/note#Peer.ConnectionInfo |
| func (p *Peer) FindProviders(ctx context.Context, key []byte) ([]ProviderRecord, error) | https://pkg.go.dev/github.com/m-sossich/note#Peer.FindProviders |
| func (p *Peer) ID() string | https://pkg.go.dev/github.com/m-sossich/note#Peer.ID |
| func (p *Peer) Lookup(ctx context.Context, key []byte) ([]dht.NodeInfo, error) | https://pkg.go.dev/github.com/m-sossich/note#Peer.Lookup |
| func (p *Peer) Peers() []string | https://pkg.go.dev/github.com/m-sossich/note#Peer.Peers |
| func (p *Peer) Send(peerID string, msg Message) (int, error) | https://pkg.go.dev/github.com/m-sossich/note#Peer.Send |
| type ProviderRecord | https://pkg.go.dev/github.com/m-sossich/note#ProviderRecord |
| type StoreResult | https://pkg.go.dev/github.com/m-sossich/note#StoreResult |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#pkg-constants |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#pkg-variables |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#pkg-functions |
| LoadOrGenerateID | https://github.com/m-sossich/note/blob/v0.1.0/peer.go#L433 |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#LoadOrGenerateID |
| string | https://pkg.go.dev/builtin#string |
| string | https://pkg.go.dev/builtin#string |
| error | https://pkg.go.dev/builtin#error |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#pkg-types |
| ConnInfo | https://github.com/m-sossich/note/blob/v0.1.0/peer.go#L56 |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#ConnInfo |
| p2p | https://pkg.go.dev/github.com/m-sossich/note@v0.1.0/pkg/p2p |
| ConnInfo | https://pkg.go.dev/github.com/m-sossich/note@v0.1.0/pkg/p2p#ConnInfo |
| Handler | https://github.com/m-sossich/note/blob/v0.1.0/peer.go#L53 |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#Handler |
| p2p | https://pkg.go.dev/github.com/m-sossich/note@v0.1.0/pkg/p2p |
| Handler | https://pkg.go.dev/github.com/m-sossich/note@v0.1.0/pkg/p2p#Handler |
| Message | https://github.com/m-sossich/note/blob/v0.1.0/peer.go#L59 |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#Message |
| string | https://pkg.go.dev/builtin#string |
| string | https://pkg.go.dev/builtin#string |
| any | https://pkg.go.dev/builtin#any |
| Msg | https://github.com/m-sossich/note/blob/v0.1.0/peer.go#L66 |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#Msg |
| string | https://pkg.go.dev/builtin#string |
| any | https://pkg.go.dev/builtin#any |
| Message | https://pkg.go.dev/github.com/m-sossich/note#Message |
| Option | https://github.com/m-sossich/note/blob/v0.1.0/peer.go#L107 |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#Option |
| WithAdvertiseAddr | https://github.com/m-sossich/note/blob/v0.1.0/peer.go#L114 |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#WithAdvertiseAddr |
| string | https://pkg.go.dev/builtin#string |
| Option | https://pkg.go.dev/github.com/m-sossich/note#Option |
| WithBootstrap | https://github.com/m-sossich/note/blob/v0.1.0/peer.go#L109 |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#WithBootstrap |
| string | https://pkg.go.dev/builtin#string |
| Option | https://pkg.go.dev/github.com/m-sossich/note#Option |
| WithCodec | https://github.com/m-sossich/note/blob/v0.1.0/peer.go#L187 |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#WithCodec |
| codec | https://pkg.go.dev/github.com/m-sossich/note@v0.1.0/pkg/codec |
| Codec | https://pkg.go.dev/github.com/m-sossich/note@v0.1.0/pkg/codec#Codec |
| Option | https://pkg.go.dev/github.com/m-sossich/note#Option |
| WithDHT | https://github.com/m-sossich/note/blob/v0.1.0/peer.go#L134 |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#WithDHT |
| dht | https://pkg.go.dev/github.com/m-sossich/note@v0.1.0/pkg/dht |
| Config | https://pkg.go.dev/github.com/m-sossich/note@v0.1.0/pkg/dht#Config |
| Option | https://pkg.go.dev/github.com/m-sossich/note#Option |
| WithHandler | https://github.com/m-sossich/note/blob/v0.1.0/peer.go#L119 |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#WithHandler |
| string | https://pkg.go.dev/builtin#string |
| Handler | https://pkg.go.dev/github.com/m-sossich/note#Handler |
| Option | https://pkg.go.dev/github.com/m-sossich/note#Option |
| WithHandlerFactory | https://github.com/m-sossich/note/blob/v0.1.0/peer.go#L127 |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#WithHandlerFactory |
| node | https://pkg.go.dev/github.com/m-sossich/note@v0.1.0/pkg/node |
| Node | https://pkg.go.dev/github.com/m-sossich/note@v0.1.0/pkg/node#Node |
| Option | https://pkg.go.dev/github.com/m-sossich/note#Option |
| WithHandshakeTimeout | https://github.com/m-sossich/note/blob/v0.1.0/peer.go#L163 |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#WithHandshakeTimeout |
| time | https://pkg.go.dev/time |
| Duration | https://pkg.go.dev/time#Duration |
| Option | https://pkg.go.dev/github.com/m-sossich/note#Option |
| WithIdentityPath | https://github.com/m-sossich/note/blob/v0.1.0/peer.go#L173 |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#WithIdentityPath |
| string | https://pkg.go.dev/builtin#string |
| Option | https://pkg.go.dev/github.com/m-sossich/note#Option |
| WithMaxFrameSize | https://github.com/m-sossich/note/blob/v0.1.0/peer.go#L193 |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#WithMaxFrameSize |
| uint32 | https://pkg.go.dev/builtin#uint32 |
| Option | https://pkg.go.dev/github.com/m-sossich/note#Option |
| WithMaxInboundPeers | https://github.com/m-sossich/note/blob/v0.1.0/peer.go#L148 |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#WithMaxInboundPeers |
| int | https://pkg.go.dev/builtin#int |
| Option | https://pkg.go.dev/github.com/m-sossich/note#Option |
| WithMaxPeers | https://github.com/m-sossich/note/blob/v0.1.0/peer.go#L143 |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#WithMaxPeers |
| int | https://pkg.go.dev/builtin#int |
| Option | https://pkg.go.dev/github.com/m-sossich/note#Option |
| WithMaxPendingPeers | https://github.com/m-sossich/note/blob/v0.1.0/peer.go#L153 |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#WithMaxPendingPeers |
| int | https://pkg.go.dev/builtin#int |
| Option | https://pkg.go.dev/github.com/m-sossich/note#Option |
| WithPeerConnected | https://github.com/m-sossich/note/blob/v0.1.0/peer.go#L178 |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#WithPeerConnected |
| string | https://pkg.go.dev/builtin#string |
| Option | https://pkg.go.dev/github.com/m-sossich/note#Option |
| WithPeerDisconnected | https://github.com/m-sossich/note/blob/v0.1.0/peer.go#L182 |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#WithPeerDisconnected |
| string | https://pkg.go.dev/builtin#string |
| Option | https://pkg.go.dev/github.com/m-sossich/note#Option |
| WithPingInterval | https://github.com/m-sossich/note/blob/v0.1.0/peer.go#L168 |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#WithPingInterval |
| time | https://pkg.go.dev/time |
| Duration | https://pkg.go.dev/time#Duration |
| Option | https://pkg.go.dev/github.com/m-sossich/note#Option |
| WithPingMaxMissed | https://github.com/m-sossich/note/blob/v0.1.0/peer.go#L158 |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#WithPingMaxMissed |
| int | https://pkg.go.dev/builtin#int |
| Option | https://pkg.go.dev/github.com/m-sossich/note#Option |
| WithProtocolFrameSize | https://github.com/m-sossich/note/blob/v0.1.0/peer.go#L199 |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#WithProtocolFrameSize |
| string | https://pkg.go.dev/builtin#string |
| uint32 | https://pkg.go.dev/builtin#uint32 |
| Option | https://pkg.go.dev/github.com/m-sossich/note#Option |
| Peer | https://github.com/m-sossich/note/blob/v0.1.0/peer.go#L71 |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#Peer |
| NewPeer | https://github.com/m-sossich/note/blob/v0.1.0/peer.go#L209 |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#NewPeer |
| string | https://pkg.go.dev/builtin#string |
| Option | https://pkg.go.dev/github.com/m-sossich/note#Option |
| Peer | https://pkg.go.dev/github.com/m-sossich/note#Peer |
| error | https://pkg.go.dev/builtin#error |
| NewVerifiedPeer | https://github.com/m-sossich/note/blob/v0.1.0/peer.go#L225 |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#NewVerifiedPeer |
| identity | https://pkg.go.dev/github.com/m-sossich/note@v0.1.0/pkg/identity |
| Keypair | https://pkg.go.dev/github.com/m-sossich/note@v0.1.0/pkg/identity#Keypair |
| string | https://pkg.go.dev/builtin#string |
| Option | https://pkg.go.dev/github.com/m-sossich/note#Option |
| Peer | https://pkg.go.dev/github.com/m-sossich/note#Peer |
| error | https://pkg.go.dev/builtin#error |
| Addr | https://github.com/m-sossich/note/blob/v0.1.0/peer.go#L262 |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#Peer.Addr |
| Peer | https://pkg.go.dev/github.com/m-sossich/note#Peer |
| string | https://pkg.go.dev/builtin#string |
| Announce | https://github.com/m-sossich/note/blob/v0.1.0/peer.go#L282 |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#Peer.Announce |
| Peer | https://pkg.go.dev/github.com/m-sossich/note#Peer |
| context | https://pkg.go.dev/context |
| Context | https://pkg.go.dev/context#Context |
| byte | https://pkg.go.dev/builtin#byte |
| StoreResult | https://pkg.go.dev/github.com/m-sossich/note#StoreResult |
| error | https://pkg.go.dev/builtin#error |
| Broadcast | https://github.com/m-sossich/note/blob/v0.1.0/peer.go#L248 |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#Peer.Broadcast |
| Peer | https://pkg.go.dev/github.com/m-sossich/note#Peer |
| Message | https://pkg.go.dev/github.com/m-sossich/note#Message |
| int | https://pkg.go.dev/builtin#int |
| Close | https://github.com/m-sossich/note/blob/v0.1.0/peer.go#L233 |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#Peer.Close |
| Peer | https://pkg.go.dev/github.com/m-sossich/note#Peer |
| error | https://pkg.go.dev/builtin#error |
| ConnectionInfo | https://github.com/m-sossich/note/blob/v0.1.0/peer.go#L289 |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#Peer.ConnectionInfo |
| Peer | https://pkg.go.dev/github.com/m-sossich/note#Peer |
| string | https://pkg.go.dev/builtin#string |
| ConnInfo | https://pkg.go.dev/github.com/m-sossich/note#ConnInfo |
| bool | https://pkg.go.dev/builtin#bool |
| FindProviders | https://github.com/m-sossich/note/blob/v0.1.0/peer.go#L273 |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#Peer.FindProviders |
| Peer | https://pkg.go.dev/github.com/m-sossich/note#Peer |
| context | https://pkg.go.dev/context |
| Context | https://pkg.go.dev/context#Context |
| byte | https://pkg.go.dev/builtin#byte |
| ProviderRecord | https://pkg.go.dev/github.com/m-sossich/note#ProviderRecord |
| error | https://pkg.go.dev/builtin#error |
| ID | https://github.com/m-sossich/note/blob/v0.1.0/peer.go#L259 |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#Peer.ID |
| Peer | https://pkg.go.dev/github.com/m-sossich/note#Peer |
| string | https://pkg.go.dev/builtin#string |
| Lookup | https://github.com/m-sossich/note/blob/v0.1.0/peer.go#L265 |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#Peer.Lookup |
| Peer | https://pkg.go.dev/github.com/m-sossich/note#Peer |
| context | https://pkg.go.dev/context |
| Context | https://pkg.go.dev/context#Context |
| byte | https://pkg.go.dev/builtin#byte |
| dht | https://pkg.go.dev/github.com/m-sossich/note@v0.1.0/pkg/dht |
| NodeInfo | https://pkg.go.dev/github.com/m-sossich/note@v0.1.0/pkg/dht#NodeInfo |
| error | https://pkg.go.dev/builtin#error |
| Peers | https://github.com/m-sossich/note/blob/v0.1.0/peer.go#L258 |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#Peer.Peers |
| Peer | https://pkg.go.dev/github.com/m-sossich/note#Peer |
| string | https://pkg.go.dev/builtin#string |
| Send | https://github.com/m-sossich/note/blob/v0.1.0/peer.go#L244 |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#Peer.Send |
| Peer | https://pkg.go.dev/github.com/m-sossich/note#Peer |
| string | https://pkg.go.dev/builtin#string |
| Message | https://pkg.go.dev/github.com/m-sossich/note#Message |
| int | https://pkg.go.dev/builtin#int |
| error | https://pkg.go.dev/builtin#error |
| ProviderRecord | https://github.com/m-sossich/note/blob/v0.1.0/peer.go#L47 |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#ProviderRecord |
| dht | https://pkg.go.dev/github.com/m-sossich/note@v0.1.0/pkg/dht |
| ProviderRecord | https://pkg.go.dev/github.com/m-sossich/note@v0.1.0/pkg/dht#ProviderRecord |
| StoreResult | https://github.com/m-sossich/note/blob/v0.1.0/peer.go#L50 |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#StoreResult |
| dht | https://pkg.go.dev/github.com/m-sossich/note@v0.1.0/pkg/dht |
| StoreResult | https://pkg.go.dev/github.com/m-sossich/note@v0.1.0/pkg/dht#StoreResult |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#section-sourcefiles |
| View all Source files | https://github.com/m-sossich/note/tree/v0.1.0 |
| peer.go | https://github.com/m-sossich/note/blob/v0.1.0/peer.go |
| ¶ | https://pkg.go.dev/github.com/m-sossich/note#section-directories |
| cas | https://pkg.go.dev/github.com/m-sossich/note@v0.1.0/demo/cas |
| cas/blockstore | https://pkg.go.dev/github.com/m-sossich/note@v0.1.0/demo/cas/blockstore |
| cas/chunker | https://pkg.go.dev/github.com/m-sossich/note@v0.1.0/demo/cas/chunker |
| cas/protocol | https://pkg.go.dev/github.com/m-sossich/note@v0.1.0/demo/cas/protocol |
| chat | https://pkg.go.dev/github.com/m-sossich/note@v0.1.0/demo/chat |
| chat/protocol | https://pkg.go.dev/github.com/m-sossich/note@v0.1.0/demo/chat/protocol |
| gossip | https://pkg.go.dev/github.com/m-sossich/note@v0.1.0/demo/gossip |
| gossip/protocol | https://pkg.go.dev/github.com/m-sossich/note@v0.1.0/demo/gossip/protocol |
| codec | https://pkg.go.dev/github.com/m-sossich/note@v0.1.0/pkg/codec |
| codec/json | https://pkg.go.dev/github.com/m-sossich/note@v0.1.0/pkg/codec/json |
| dht | https://pkg.go.dev/github.com/m-sossich/note@v0.1.0/pkg/dht |
| discovery | https://pkg.go.dev/github.com/m-sossich/note@v0.1.0/pkg/discovery |
| identity | https://pkg.go.dev/github.com/m-sossich/note@v0.1.0/pkg/identity |
| log | https://pkg.go.dev/github.com/m-sossich/note@v0.1.0/pkg/log |
| node | https://pkg.go.dev/github.com/m-sossich/note@v0.1.0/pkg/node |
| node/identify | https://pkg.go.dev/github.com/m-sossich/note@v0.1.0/pkg/node/identify |
| p2p | https://pkg.go.dev/github.com/m-sossich/note@v0.1.0/pkg/p2p |
| transport | https://pkg.go.dev/github.com/m-sossich/note@v0.1.0/pkg/transport |
| transport/tcp | https://pkg.go.dev/github.com/m-sossich/note@v0.1.0/pkg/transport/tcp |
| transport/tls | https://pkg.go.dev/github.com/m-sossich/note@v0.1.0/pkg/transport/tls |
| transport/udp | https://pkg.go.dev/github.com/m-sossich/note@v0.1.0/pkg/transport/udp |
| wire | https://pkg.go.dev/github.com/m-sossich/note@v0.1.0/pkg/wire |
|
Why Go
| https://go.dev/solutions |
|
Use Cases
| https://go.dev/solutions#use-cases |
|
Case Studies
| https://go.dev/solutions#case-studies |
|
Get Started
| https://learn.go.dev/ |
|
Playground
| https://play.golang.org |
|
Tour
| https://tour.golang.org |
|
Stack Overflow
| https://stackoverflow.com/questions/tagged/go?tab=Newest |
|
Help
| https://go.dev/help |
|
Packages
| https://pkg.go.dev |
|
Standard Library
| https://pkg.go.dev/std |
|
Sub-repositories
| https://pkg.go.dev/golang.org/x |
|
About Go Packages
| https://pkg.go.dev/about |
|
pkg.go.dev API
| https://pkg.go.dev/api |
|
About
| https://go.dev/project |
| Download | https://go.dev/dl/ |
| Blog | https://go.dev/blog |
|
Issue Tracker
| https://github.com/golang/go/issues |
|
Release Notes
| https://go.dev/doc/devel/release.html |
|
Brand Guidelines
| https://go.dev/brand |
|
Code of Conduct
| https://go.dev/conduct |
|
Connect
| https://www.twitter.com/golang |
|
Twitter
| https://www.twitter.com/golang |
| GitHub | https://github.com/golang |
|
Slack
| https://invite.slack.golangbridge.org/ |
|
r/golang
| https://reddit.com/r/golang |
|
Meetup
| https://www.meetup.com/pro/go |
|
Golang Weekly
| https://golangweekly.com/ |
| Copyright | https://go.dev/copyright |
| Terms of Service | https://go.dev/tos |
|
Privacy Policy
| http://www.google.com/intl/en/policies/privacy/ |
|
Report an Issue
| https://go.dev/s/pkgsite-feedback |
|
| https://google.com |
| Learn more. | https://policies.google.com/technologies/cookies |