client

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: Apache-2.0 Imports: 30 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	CMD_CLIENT_HTTP_NAME         string = "http"
	CMD_CLIENT_HTTP_METHOD       string = "method"
	CMD_CLIENT_HTTP_SHOW_CURL    string = "show-curl"
	CMD_CLIENT_HTTP_INPUT_TYPE   string = "input-type"
	CMD_CLIENT_HTTP_CONTENT_TYPE string = "Content-Type"
	CMD_CLIENT_HTTP_OUTPUT       string = "output"
)
View Source
const (
	GET string = "GET"
	SET string = "SET"
	DEL string = "DEL"
)

Variables

This section is empty.

Functions

func NewDownloadCmd added in v0.1.0

func NewDownloadCmd() *cobra.Command

func NewHttpClient

func NewHttpClient() *cobra.Command

func NewMqttCmd added in v0.1.0

func NewMqttCmd() *cobra.Command

func NewRedisClient

func NewRedisClient() *cobra.Command

func NewWebsocketCmd

func NewWebsocketCmd() *cobra.Command

Types

type Parameter

type Parameter struct {
	Key      string
	Value    interface{}
	Duration time.Duration
}

Jump to

Keyboard shortcuts

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