client

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2022 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

Package client provides wallhack client mode. This means it attaches to a tun interface and dials to a wallhack server. On success all packages from the tun and written to the connection and vice versa.

Index

Constants

View Source
const (

	// ServerEnvName is the name of the environment file containing the wallhack server address to connect to.
	ServerEnvName = "WALLHACK_SERVER"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client added in v0.0.6

type Client struct {
	Cert string `yaml:"cert"`
	Key  string `yaml:"key"`
}

Client represents the credentials for running in client mode.

func (Client) Run added in v0.0.6

func (c Client) Run(ctx context.Context, log logr.Logger, service *service.Service) error

Run this instance in client mode.

Jump to

Keyboard shortcuts

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