network

package
v0.0.0-...-43f976d Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const UNKNOWN = "Unknown"

Variables

This section is empty.

Functions

func BrowserInfo

func BrowserInfo(userAgent string) string

func ClientPlatformInfo

func ClientPlatformInfo(platform, osCpu, userAgent string) *map[string]string

func GetIPAddress

func GetIPAddress(r *http.Request) string

func PlatformInfo

func PlatformInfo(platform, osCpu, userAgent string) string

func ServeScript

func ServeScript(w http.ResponseWriter, r *http.Request, script string, cache common.CacheMap, cacheKey string, cacheParams string, immutable ...bool)

func WriteEncoded

func WriteEncoded(w http.ResponseWriter, r *http.Request, data []byte, cache common.CacheMap, cacheKey string, cacheParams string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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