appapi

package
v0.3.7 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Components

type Components struct {
	Mux *http.ServeMux
	*Start
	HttpListener net.Listener
	Node         *node.Nodes
	Tools        *gt.Tools
	Subscribe    gn.SubscribeServer
	Connections  gs.ConnectionsServer
	Tag          gn.TagServer
	DB           *bbolt.DB
	Rc           *route.RuleController
}

func (*Components) Close

func (a *Components) Close() error

func (*Components) RegisterGrpcService

func (app *Components) RegisterGrpcService()

type Start

type Start struct {
	ConfigPath string
	Host       string
	Setting    config.Setting

	ProcessDumper netapi.ProcessDumper
	GRPCServer    *grpc.Server
	// contains filtered or unexported fields
}

func (*Start) AddCloser

func (a *Start) AddCloser(name string, z io.Closer)

Jump to

Keyboard shortcuts

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