utils

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dial added in v1.1.0

func Dial(dial *config.Dial, index int) (net.Conn, error)

func GetDefaultRouteIP added in v1.1.0

func GetDefaultRouteIP(_, _ string) (net.IP, error)

func IP2Int added in v1.1.0

func IP2Int(ip net.IP) uint32

func Int2IP added in v1.1.0

func Int2IP(nn uint32) net.IP

func Listen added in v1.1.0

func Listen(listen *config.Listen) (net.Listener, error)

func RemoveOmitEmptyTag added in v1.1.0

func RemoveOmitEmptyTag(obj interface{}) interface{}

TODO test it

func SetRLimit

func SetRLimit(fileLimit uint64) error

func Slice2streams

func Slice2streams(slice []any) []geminio.Stream

Types

This section is empty.

Jump to

Keyboard shortcuts

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