api

package
v0.0.0-...-dbfda16 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetListeningSocketsByProjectID

func GetListeningSocketsByProjectID(id string) []*websocket.Conn

func ServeAPI

func ServeAPI(config Config)

ServeAPI serves the zero trust modeller service on the specified port

Types

type Config

type Config struct {
	AppName, AppVersion string
	DataPath            string //base data directory of zero trust services
	ApiPort             int
	Local               bool //if set, to bind the api to localhost:port (electron) or simply :port (web service) instead
}

type MonitorOptions

type MonitorOptions struct {
	ProjectIDs []string
}

type SocketEndMessage

type SocketEndMessage struct {
	Message string
}

Jump to

Keyboard shortcuts

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