libstring

package
v4.0.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2019 License: MIT Imports: 3 Imported by: 28

Documentation

Overview

Package libstring provides various string related functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RemoteIP

func RemoteIP(ipLookups []string, forwardedForIndexFromBehind int, r *http.Request) string

RemoteIP finds IP Address given http.Request struct.

func StringInSlice

func StringInSlice(sliceString []string, needle string) bool

StringInSlice finds needle in a slice of strings.

Types

This section is empty.

Jump to

Keyboard shortcuts

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