endpoints

package
v0.0.0-...-70c2902 Latest Latest
Warning

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

Go to latest
Published: May 9, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEndPointV1Delete

func NewEndPointV1Delete(set *config.Setup) (*v1delete, error)

NewEndPointV1Delete constructor for /v1/delete/{id}

func NewEndPointV1Fetch

func NewEndPointV1Fetch(set *config.Setup) (*v1fetch, error)

NewEndPointV1Fetch constructor for /v1/test/{id}

func NewEndPointV1Get

func NewEndPointV1Get(set *config.Setup) (*v1get, error)

NewEndPointV1Get constructor for /v1/test/{id}

func NewEndPointV1List

func NewEndPointV1List(set *config.Setup) (*v1list, error)

NewEndPointV1List constructor for /v1/test/{id}

Types

type ReqFetch

type ReqFetch struct {
	Method string `json:"Method"` // Method post or get
	Url    string `json:"Url"`    // URL
}

ReqFetch get url

func (*ReqFetch) Decode

func (t *ReqFetch) Decode(r *http.Request) error

Decode FetchTask

func (*ReqFetch) Validate

func (t *ReqFetch) Validate() error

Validate it

Jump to

Keyboard shortcuts

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