funcs

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2022 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package funcs provides fome functions that for special cases

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsTCP

func IsTCP(address string) bool

IsTCP tests if the address is an tcp address

func IsUnix

func IsUnix(address string) bool

IsUnix tests if the address is an unix address. It returns false if its an tcp address.

func StaticFS

func StaticFS(r gin.IRouter, files fs.FS)

StaticFS is an Handler for Staticfiles that doesn't use globs and uses a fs.FS

Types

This section is empty.

Jump to

Keyboard shortcuts

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