client

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2026 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const StreamTypeMimic = 0x02

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client defines the embeddable SDK client for Mimic Protocol

func NewClient

func NewClient(cfg *config.ClientConfig) (*Client, error)

NewClient initializes a new core client instance based on the configuration

func (*Client) Start

func (c *Client) Start(ctx context.Context) error

Start initiates the MTP connection to the remote server and starts backend tasks

func (*Client) StartProxies

func (c *Client) StartProxies() error

StartProxies binds the local SOCKS5 and HTTP listeners defined in config

func (*Client) Stop

func (c *Client) Stop()

Stop closes all proxies and underlying protocols gracefully

Jump to

Keyboard shortcuts

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