Directories ¶
Path | Synopsis |
---|---|
Package apps contains Go implementations of apps that are distributed with go-perun.
|
Package apps contains Go implementations of apps that are distributed with go-perun. |
payment
Package payment implements the payment channel app.
|
Package payment implements the payment channel app. |
Package backend contains blockchain backend implementations.
|
Package backend contains blockchain backend implementations. |
sim
Package sim contains the simulated blockchain backend.
|
Package sim contains the simulated blockchain backend. |
sim/channel
Package channel contains the simulated channel backend.
|
Package channel contains the simulated channel backend. |
sim/wallet
Package wallet contains the simulated wallet backend.
|
Package wallet contains the simulated wallet backend. |
Package channel holds the core channel data structures.
|
Package channel holds the core channel data structures. |
persistence
Package persistence specifies how the framework interacts with a persistence backend.
|
Package persistence specifies how the framework interacts with a persistence backend. |
persistence/keyvalue
Package keyvalue contains an implementation of the channel persister interface using a keyvalue database interface.
|
Package keyvalue contains an implementation of the channel persister interface using a keyvalue database interface. |
persistence/test
Package test provides a PersistRestorer implementation for testing purposes as well as a generic PersistRestorer implementation test.
|
Package test provides a PersistRestorer implementation for testing purposes as well as a generic PersistRestorer implementation test. |
test
Package test contains generic tests for channel backend implementations and random generators of Params, States etc.
|
Package test contains generic tests for channel backend implementations and random generators of Params, States etc. |
Package client contains the Perun State Channel network protocol implementation.
|
Package client contains the Perun State Channel network protocol implementation. |
test
Package test contains testing setup types and functions for package client.
|
Package test contains testing setup types and functions for package client. |
Package log implements the logger interface of go-perun.
|
Package log implements the logger interface of go-perun. |
logrus
Package logrus contains an adaptation of the github.com/sirupsen/logrus project to our log interface.
|
Package logrus contains an adaptation of the github.com/sirupsen/logrus project to our log interface. |
Package wallet contains the definition of the wallet backend interfaces, and manages a global wallet backend instance that is accessible from the rest of the project.
|
Package wallet contains the definition of the wallet backend interfaces, and manages a global wallet backend instance that is accessible from the rest of the project. |
test
Package test contains generic tests and benchmarks for wallet backend implementation.
|
Package test contains generic tests and benchmarks for wallet backend implementation. |
Package watcher contains interface definitions for the watcher.
|
Package watcher contains interface definitions for the watcher. |
internal/mock
Package mock contains generated mocks for use in tests.
|
Package mock contains generated mocks for use in tests. |
local
Package local implements a local watcher.
|
Package local implements a local watcher. |
Package wire contains the basic wire communication infrastructure like wire message en- and decoding.
|
Package wire contains the basic wire communication infrastructure like wire message en- and decoding. |
net
Package net contains the abstract communication logic between peers.
|
Package net contains the abstract communication logic between peers. |
net/simple
Package simple contains simplistic implementation for the wire.Dialer and wire.Listener interfaces.
|
Package simple contains simplistic implementation for the wire.Dialer and wire.Listener interfaces. |
net/test
Package test contains the testing types for wire/net.
|
Package test contains the testing types for wire/net. |
perunio
Package perunio contains functionality for the serialization of standard Go types.
|
Package perunio contains functionality for the serialization of standard Go types. |
perunio/serializer
Package serializer implements the wire serializer interface using the perunio encoding format.
|
Package serializer implements the wire serializer interface using the perunio encoding format. |
perunio/test
Package test contains test helper functions for running generic tests for types implementing perunio serializer.
|
Package test contains test helper functions for running generic tests for types implementing perunio serializer. |
protobuf
Package protobuf implements the wire serializer interface using the protocol buffers serialization protocol.
|
Package protobuf implements the wire serializer interface using the protocol buffers serialization protocol. |
protobuf/test
Package test contains test helper functions for running generic tests for protobuf serialization.
|
Package test contains test helper functions for running generic tests for protobuf serialization. |
test
Package test contains implementations of the peer interfaces that are useful for testing.
|
Package test contains implementations of the peer interfaces that are useful for testing. |
Click to show internal directories.
Click to hide internal directories.