ciutil

package
v0.0.0-...-bc1001e Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IPFromReq

func IPFromReq(r *http.Request) string

func IsFromAppveyor

func IsFromAppveyor(r *http.Request) bool

IsFromAppveyor returns true if given request is from Appveyor. https://www.appveyor.com/docs/build-environment/#ip-addresses

func IsFromCI

func IsFromCI(r *http.Request) bool

IsFromCI returns true if given request is from trusted CI provider.

func IsFromTravisCI

func IsFromTravisCI(r *http.Request) bool

IsFromTravisCI returns true if given request is from Travis CI. https://docs.travis-ci.com/user/ip-addresses/

Types

This section is empty.

Jump to

Keyboard shortcuts

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