node

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2022 License: MPL-2.0 Imports: 25 Imported by: 0

Documentation

Overview

Package node the InbounderConfig used by add inbound

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InboundBuilder

func InboundBuilder(config *conf.ControllerConfig, nodeInfo *panel.NodeInfo, tag string) (*core.InboundHandlerConfig, error)

InboundBuilder build Inbound config for different protocol

func OutboundBuilder

func OutboundBuilder(config *conf2.ControllerConfig, nodeInfo *panel.NodeInfo, tag string) (*core.OutboundHandlerConfig, error)

OutboundBuilder build freedom outbund config for addoutbound

Types

type Node

type Node struct {
	Tag string
	// contains filtered or unexported fields
}

func New

func New(server *core.Core, api panel.Panel, config *conf.ControllerConfig) *Node

New return a Node service with default parameters.

func (*Node) Close

func (c *Node) Close() error

Close implement the Close() function of the service interface

func (*Node) Start

func (c *Node) Start() error

Start implement the Start() function of the service interface

Directories

Path Synopsis
Package legocmd Let's Encrypt client to go! CLI application for generating Let's Encrypt certificates using the ACME package.
Package legocmd Let's Encrypt client to go! CLI application for generating Let's Encrypt certificates using the ACME package.
cmd
log

Jump to

Keyboard shortcuts

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