client

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: Apache-2.0 Imports: 30 Imported by: 0

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