model

package
v0.0.0-...-6bcf364 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToJson

func ToJson(v interface{}) (string, error)

Types

type GetRequest

type GetRequest struct {
	// contains filtered or unexported fields
}

Manage the HTTP GET request parameters

func (*GetRequest) AddParam

func (p *GetRequest) AddParam(property string, value string) *GetRequest

Add URL escape property and value pair

func (*GetRequest) BuildParams

func (p *GetRequest) BuildParams() string

Concat the property and value pair

func (*GetRequest) Init

func (p *GetRequest) Init() *GetRequest

Initializer

func (*GetRequest) InitFrom

func (p *GetRequest) InitFrom(reqParams *GetRequest) *GetRequest

Initialized from another instance

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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