Documentation ¶
Index ¶
Constants ¶
View Source
const ( NewName = "newName" Dashboard = "dashboard" NewAccount = "newAccount" SignedInUser = "signedInUser" )
The parameter keys of the header
View Source
const ( // User Identifier = "inputIdentifier" Password = "inputPassword" DisplayName = "inputDisplayName" UserName = "inputUserName" Email = "inputEmail" IsAdmin = "inputIsAdmin" // Project ProjectName = "inputProjectName" ProjectDescription = "inputProjectDesc" ProjectImage = "inputProjectLogo" ProjectVisibility = "optionsProjectVisibility" ProjectRoles = "inputProjectRoles" Version = "version" Filter = "filter" Label = "inputTestSequenceLabels" // TestCases TestCaseName = "inputTestCaseName" TestVersion = "testVersion" // TestSequences TestSequenceName = "inputTestSequenceName" TestSequenceDescription = "inputTestSequenceDescription" TestSequencePreconditions = "inputTestSequencePreconditions" TestSequenceLabels = "inputTestSequenceLabels" TestSequenceTestCase = "inputTestSequenceTestCase" NewTestCases = "newTestcases" CommitMessage = "inputCommitMessage" IsMinor = "isMinor" // Members Members = "members" Roles = "roles" Member = "member" Role = "role" // Assignment NewTesters = "newtesters" // Protocols ProtocolType = "type" SelectedProtocol = "selected" PreconditionResults = "preconditions" ProtocolNr = "protocolNr" // Group GroupName = "inputGroupName" GroupDescription = "inputGroupDesc" GroupVisibility = "inputGroupVisibility" // Comment CommentId = "commentId" CommentText = "commentText" Fragment = "fragment" // Settings IsAccessAllowed = "isAccessAllowed" IsRegistrationAllowed = "isRegistrationAllowed" IsEmailVerification = "isEmailVerification" IsDisplayMessage = "isDisplayMessage" IsGlobalMessageExpirationDate = "isGlobalMessageExpirationDate" GlobalMessage = "globalMessage" GlobalMessageType = "globalMessageType" GlobalMessageTimeStamp = "globalMessageTimeStamp" GlobalMessageExpirationDate = "globalMessageExpirationDate" GlobalMessageExpirationDateUnix = "globalMessageExpirationDateUnix" //Uploads UploadSource = "uploadSrc" UploadName = "uploadName" )
The parameter keys of a request
Variables ¶
This section is empty.
Functions ¶
func DumpRequest ¶
DumpRequest dumps given request into printable string.
func DumpResponse ¶ added in v1.0.0
DumpResponse is like DumpRequest but for responses.
func IsFragmentRequest ¶
IsFragmentRequest checks if the request contains a parameter "fragment". If the parameter is one of 1, t, T, TRUE, true or True the function returns true, else it returns false
func SetHeaderValue ¶ added in v1.0.0
func SetHeaderValue(w http.ResponseWriter, key, value string)
SetHeaderValue is a helper function for setting a value in the header. The value will be URL-Encoded.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.