config

package
v1.13.10 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientConfig

type ClientConfig struct {
	Network      libptc.NetworkProtocol ``
	Address      string
	ReadBuffSize libsiz.Size
}

func (ClientConfig) New

func (o ClientConfig) New() (libsck.Client, error)

type ServerConfig

type ServerConfig struct {
	Network      libptc.NetworkProtocol ``
	Address      string
	PermFile     os.FileMode
	GroupPerm    int32
	BuffSizeRead libsiz.Size
}

func (ServerConfig) New

func (o ServerConfig) New(handler libsck.Handler) (libsck.Server, error)

Jump to

Keyboard shortcuts

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