utils

package
Version: v0.0.0-...-93a261a Latest Latest
Warning

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

Go to latest
Published: May 24, 2021 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchSubmitUrlFromRequest

func FetchSubmitUrlFromRequest(req *http.Request, q *url.Values) (string, error)

Types

type IpData

type IpData struct {
	Ip   string
	Port string
}

func GetForwardedForIpData

func GetForwardedForIpData(r *http.Request) (IpData, error)

func GetRequestIpData

func GetRequestIpData(r *http.Request) (IpData, error)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL