utils

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Separator        = ";"
	All              = "all"
	ValidHttpMethods = [...]string{"GET", "POST", "PUT", "HEAD", "DELETE", "OPTIONS"}
	ValidFileTypes   = [...]string{"gif", "png", "bmp", "jpeg", "jpg", "html", "htm", "shtml", "mp3", "wma", "flv", "mp4", "wmv", "zip", "exe", "rar", "css", "txt", "ico", "js", "swf", "m3u8", "xml", "f4m", "bootstarp", "ts"}
)

Functions

func CheckFileTypes

func CheckFileTypes(types string) error

func WaitForDomainDeleted

func WaitForDomainDeleted(client *cdnetworksapi.Client, domainId string) error

func WaitForDomainDeployed

func WaitForDomainDeployed(client *cdnetworksapi.Client, domainId string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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