tns

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: BSD-3-Clause Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DataBasePath string = "/tb/storage/databases/"
View Source
var DevDataBasePath string = "storage/"

Functions

func Package

func Package() config.ProtoCommandIface

Types

type Config

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

type Service

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

func New

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

func (*Service) Close

func (srv *Service) Close() error

func (*Service) KV

func (s *Service) KV() kvdb.KVDB

func (*Service) Node

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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