query

package
v0.1.19 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(key string, value interface{}) wrapper.CallWrapper

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

func AddMap

func AddMap(params map[string]interface{}) wrapper.CallWrapper

AddMap add a map of query params by key-value pair.

func Del

func Del(key string) wrapper.CallWrapper

Del deletes the query param values associated with key.

func DelAll

func DelAll() wrapper.CallWrapper

DelAll deletes all the query params.

func Set

func Set(key string, value interface{}) wrapper.CallWrapper

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

func SetMap

func SetMap(params map[string]interface{}) wrapper.CallWrapper

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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