hoarder

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2023 License: BSD-3-Clause Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Package

func Package() config.ProtoCommandIface

Types

type Config

type Config struct {
	config.Protocol `yaml:"z,omitempty"`
}

func (*Config) String

func (c *Config) String() string

type Service

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

func New

func New(ctx context.Context, config *tauConfig.Protocol) (*Service, error)

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)

Jump to

Keyboard shortcuts

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