config

package
v1.12.3 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2023 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 int32
}

func (ClientConfig) New

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

type ServerConfig

type ServerConfig struct {
	Network      libptc.NetworkProtocol ``
	Address      string
	PermFile     os.FileMode
	BuffSizeRead int32
	TimeoutRead  time.Duration
	TimeoutWrite time.Duration
}

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