api

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: May 9, 2026 License: GPL-3.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

View Source
const Version = "1.3.5"

Version is the application version. Update this on each release.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

func NewServer

func NewServer(a *app.App, addr, basePath string) *Server

func (*Server) Start

func (s *Server) Start(ctx context.Context) error

func (*Server) StartSubPeersUpdater

func (s *Server) StartSubPeersUpdater(ctx context.Context)

StartSubPeersUpdater runs in background, periodically refreshes nested peer data. Uses relay streamListPeers for both outbound and inbound peers (same mechanism).

Jump to

Keyboard shortcuts

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