Versions in this module Expand all Collapse all v0 v0.1.0 Jan 24, 2022 Changes in this version + func New(peerDB *discovery.Peers, p2pNode *p2p.Node, addr string) (*http.Server, error) + func Run(ctx context.Context, opts Options) error + type Handler struct + Node *p2p.Node + PeerDB *discovery.Peers + func (h Handler) GetSelf(_ context.Context, _ *api.GetSelfRequest) (*api.GetSelfResponse, error) + type Options struct + Addr string + Handler *Handler + Log zerolog.Logger