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

package query

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

Index

Package Files

query.go

func Add Uses

func Add(key, value string) p.Plugin

Add adds the query param value to key. It appends to any existing values associated with key.

func Del Uses

func Del(key string) p.Plugin

Del deletes the query param values associated with key.

func DelAll Uses

func DelAll() p.Plugin

DelAll deletes all the query params.

func Set Uses

func Set(key, value string) p.Plugin

Set sets the query param key and value. It replaces any existing values.

func SetMap Uses

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

SetMap sets a map of query params by key-value pair.

Package query imports 2 packages (graph) and is imported by 6 packages. Updated 2020-02-18. Refresh now. Tools for package owners.