core

package
v0.0.0-...-acaaffd Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Ws = map[string]W2socks{}
)

Functions

func Core

func Core(wc *W2Config)

Core client

Types

type W2Config

type W2Config struct {
	ServerIpAddr string `json:"server_ip_addr"`
	LocalPort    string `json:"local_port"`
}

func (*W2Config) String

func (w *W2Config) String() string

type W2socket

type W2socket struct {
	*websocket.Conn
	// contains filtered or unexported fields
}

W2socket websocket

type W2socks

type W2socks struct {
	context.Context
	context.CancelFunc
}

Jump to

Keyboard shortcuts

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