substrate

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: 79 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CPUCheckInterval = time.Second
)

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
}

TODO: Node shouldn't have to have all

func New

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

TODO: close on error

func (*Service) Close

func (srv *Service) Close() error

func (*Service) Context

func (n *Service) Context() context.Context

func (*Service) Counter

func (s *Service) Counter() iface.CounterService

func (*Service) Dev

func (srv *Service) Dev() bool

func (*Service) Http

func (s *Service) Http() http.Service

func (*Service) Node

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

func (*Service) Orbitals

func (srv *Service) Orbitals() []vm.Plugin

TODO: Rename to Satellites

func (*Service) P2P

func (s *Service) P2P() p2pIface.Service

func (*Service) SmartOps

func (s *Service) SmartOps() iface.SmartOpsService

func (*Service) Tns

func (s *Service) Tns() tns.Client

func (*Service) Verbose

func (srv *Service) Verbose() bool

func (*Service) Vm

func (s *Service) Vm() vm.Service

Jump to

Keyboard shortcuts

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