funnel

package
v0.0.19-pre1 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DebugLog

func DebugLog(a ...interface{}) (n int, err error)

Types

type Funnel

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

func New

func New() *Funnel

New creates a new Funnel instance

func (*Funnel) HandleRoute

func (f *Funnel) HandleRoute(nodeId string, c *gin.Context)

func (*Funnel) HandleServerWebSocket

func (f *Funnel) HandleServerWebSocket(nodeId string, c *gin.Context)

type FunnelClient

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

func NewFunnelClient

func NewFunnelClient(opts FunnelClientOptions) *FunnelClient

func (*FunnelClient) Start

func (c *FunnelClient) Start(token string) error

func (*FunnelClient) Stop

func (c *FunnelClient) Stop()

type FunnelClientOptions

type FunnelClientOptions struct {
	LocalHttpPort   int
	RemoteFunnelUrl string
	NodeId          string
	PoolSize        int
}

type ServerHandle

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

type ServerPool

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

type ServerWrite

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

Jump to

Keyboard shortcuts

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