app

package
v0.16.8 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2022 License: MIT Imports: 15 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application interface {
	LoadProfiles(password string)
	CreateTaggedPeer(name string, password string, tag string)
	ImportProfile(exportedCwtchFile string, password string) (peer.CwtchPeer, error)
	DeletePeer(onion string, currentPassword string)
	AddPeerPlugin(onion string, pluginID plugins.PluginID)
	LaunchPeers()

	GetPrimaryBus() event.Manager
	GetEventBus(onion string) event.Manager
	QueryACNStatus()
	QueryACNVersion()

	ShutdownPeer(string)
	Shutdown()

	GetPeer(onion string) peer.CwtchPeer
	ListProfiles() []string
}

Application is a full cwtch peer application. It allows management, usage and storage of multiple peers

func NewApp

func NewApp(acn connectivity.ACN, appDirectory string) Application

NewApp creates a new app with some environment awareness and initializes a Tor Manager

type LoadProfileFn

type LoadProfileFn func(profile peer.CwtchPeer)

LoadProfileFn is the function signature for a function in an app that loads a profile

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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