dbinfo

package
v0.0.0-...-39cda13 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddNWID

func AddNWID(nwid string) bool

func AddPeer

func AddPeer(nwid string, peerID string, note string) bool

func DeleteNetwork

func DeleteNetwork(nwid string) bool

func DeletePeer

func DeletePeer(nwid string, peerID string) bool

func InitDB

func InitDB() error

func PeerDBInfo

func PeerDBInfo(nwid string, peerName string, peerNote string, todo string) (bool, string)

func UpdatePeerNote

func UpdatePeerNote(nwid string, peerID string, oldNote, note string) bool

func ZtFilename

func ZtFilename() string

* Database Path

Types

type NetInfo

type NetInfo struct {
	Nwid int
	Net  string
}

type PeerInfo

type PeerInfo struct {
	Nwid int
	Peer string
	Note string
}

Jump to

Keyboard shortcuts

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