VAS_util_go

package module
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: GPL-3.0 Imports: 7 Imported by: 1

README

VAS-util-go

A utility library for the VAS project

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractIP added in v1.0.1

func ExtractIP(remote string) string

Extracts the IP from a string containing both port and IP

func GeneratePrivatePEM added in v1.0.2

func GeneratePrivatePEM(privateKey *rsa.PrivateKey) []byte

func GeneratePublicPEM added in v1.0.2

func GeneratePublicPEM(publicKey *rsa.PublicKey) []byte

func MethodCheckHandler

func MethodCheckHandler(next http.HandlerFunc, allowedMethods []string, corsUrl string) http.HandlerFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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