server

package
v0.72.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Opts

type Opts struct {
	Admin         *admin.Server
	TunnelHTTP    *tunnel.Tunnel
	TunnelUpgrade *tunnel.Tunnel
}

Opts are the options for the Server.

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server encapsulates both the adminServer and the proxy that comprise the agent.

func NewServer

func NewServer(opts Opts) *Server

NewServer instantiates a new server from the given adminServer and proxy.

func (*Server) Run

func (s *Server) Run() error

Run is a blocking command that starts the Server.

Jump to

Keyboard shortcuts

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