gentleman.v2: gopkg.in/h2non/gentleman.v2/plugins/url Index | Files

package url

import "gopkg.in/h2non/gentleman.v2/plugins/url"

Index

Package Files

url.go

func AddPath Uses

func AddPath(path string) p.Plugin

AddPath concatenates a path slice to the existent path in the outgoing request

func BaseURL Uses

func BaseURL(uri string) p.Plugin

BaseURL parses and defines a schema and host URL values in the outgoing request

func Param Uses

func Param(key, value string) p.Plugin

Param replaces one or multiple path param expressions by the given value

func Params Uses

func Params(params map[string]string) p.Plugin

Params replaces one or multiple path param expressions by the given map of key-value pairs

func Path Uses

func Path(path string) p.Plugin

Path defines a new URL path in the outgoing request

func PathPrefix Uses

func PathPrefix(path string) p.Plugin

PathPrefix defines a path prefix to the existent path in the outgoing request

func URL Uses

func URL(uri string) p.Plugin

URL parses and defines a new URL in the outgoing request

Package url imports 5 packages (graph) and is imported by 5 packages. Updated 2020-02-19. Refresh now. Tools for package owners.