hoarder

package
v1.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2024 License: BSD-3-Clause Imports: 37 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RebroadCastInterval = 5
)

Functions

func New

func New(ctx context.Context, config *tauConfig.Node) (service hoarderIface.Service, err error)

func Package

func Package() config.ProtoCommandIface

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

func (*Service) Close

func (srv *Service) Close() error

func (*Service) Node

func (s *Service) Node() peer.Node

func (*Service) ServiceHandler

func (srv *Service) ServiceHandler(ctx context.Context, conn streams.Connection, body command.Body) (cr.Response, error)

TODO: This can be made generic

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL