Documentation ¶
Index ¶
- type Node
- func (n *Node) Cfg() *config.Config
- func (n *Node) Comm() *comm.Handler
- func (n *Node) Did() *did.Handler
- func (n *Node) ID() didIface.IdentityStore
- func (n *Node) ListenAndServe() error
- func (n *Node) P2P() nodeIface.P2P
- func (n *Node) RandomSource() <-chan uint64
- func (n *Node) Resolver() didIface.Resolver
- func (n *Node) Stop() error
- func (n *Node) Storage() storage.Store
- type NodeOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
func (*Node) ID ¶
func (n *Node) ID() didIface.IdentityStore
func (*Node) ListenAndServe ¶
func (*Node) RandomSource ¶
type NodeOption ¶
func WithDefaultOptions ¶
func WithDefaultOptions(ctx context.Context) NodeOption
func WithIdentityStore ¶
func WithIdentityStore(store did.IdentityStore) NodeOption
func WithStorage ¶
func WithStorage(s storageIface.Store) NodeOption
Click to show internal directories.
Click to hide internal directories.