http

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UnchangedStatus  = 409
	ApiFailureStatus = "Failure"
)

Variables

This section is empty.

Functions

func BuildUrl

func BuildUrl(ctx context.Context, source *template.Source) string

func ValidResponse

func ValidResponse(err error, response *Response) error

Types

type Response

type Response struct {
	Status string `json:"status"`
	Code   int    `json:"code"`
}

Jump to

Keyboard shortcuts

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