services

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	Ctx    context.Context
	Lg     *logger.Logger
	Srv    socks5.Server
	Listen string
}

func NewService

func NewService(ctx context.Context, lg *logger.Logger, listen string, auth config.Auth) (*Service, error)

func (*Service) Start

func (s *Service) Start() error

Jump to

Keyboard shortcuts

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