httputil

package
v0.11.0-broken Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2018 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NewName    = "newName"
	Dashboard  = "dashboard"
	NewAccount = "newAccount"
)

The parameter keys of the header

View Source
const (
	// User
	Identifier  = "inputIdentifier"
	Password    = "inputPassword"
	DisplayName = "inputDisplayName"
	UserName    = "inputUserName"
	Email       = "inputEmail"

	// Project
	ProjectName        = "inputProjectName"
	ProjectDescription = "inputProjectDesc"
	ProjectVisibility  = "optionsProjectVisibility"

	Version = "version"
	Filter  = "filter"

	// TestCases
	TestCaseName = "inputTestCaseName"

	// TestSequences
	TestSequenceName          = "inputTestSequenceName"
	TestSequenceDescription   = "inputTestSequenceDescription"
	TestSequencePreconditions = "inputTestSequencePreconditions"
	TestSequenceLabels        = "inputTestSequenceLabels"
	TestSequenceTestCase      = "inputTestSequenceTestCase"
	NewTestCases              = "newTestcases"
	CommitMessage             = "inputCommitMessage"
	IsMinor                   = "isMinor"

	// Protocols
	ProtocolType     = "type"
	SelectedProtocol = "selected"

	// Group
	GroupName        = "inputGroupName"
	GroupDescription = "inputGroupDesc"
	GroupVisibility  = "inputGroupVisibility"

	// Comment
	CommentText = "commentText"
)

The parameter keys of a request

Variables

This section is empty.

Functions

func DumpRequest

func DumpRequest(r *http.Request) string

DumpRequest dumps given request into printable string.

func IsFragmentRequest

func IsFragmentRequest(r *http.Request) bool

IsFragmentRequest checks if the request contains a parameter "fragment". If the parameter is "true", the function returns true, else it returns false

Types

This section is empty.

Jump to

Keyboard shortcuts

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