http

package
v0.0.0-...-3b4426b Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AbstractHttpClient

type AbstractHttpClient struct {
	EventMeshHttpClientConfig conf.EventMeshHttpClientConfig
	HttpClient                *nethttp.Client
	// contains filtered or unexported fields
}

func NewAbstractHttpClient

func NewAbstractHttpClient(eventMeshHttpClientConfig conf.EventMeshHttpClientConfig) *AbstractHttpClient

func (*AbstractHttpClient) Close

func (c *AbstractHttpClient) Close()

func (*AbstractHttpClient) SelectEventMesh

func (c *AbstractHttpClient) SelectEventMesh() string

func (*AbstractHttpClient) SetHttpClient

func (c *AbstractHttpClient) SetHttpClient() *nethttp.Client

type EventMeshRetObj

type EventMeshRetObj struct {
	ResTime int64  `json:"resTime"`
	RetCode int    `json:"retCode"`
	RetMsg  string `json:"retMsg"`
}

type ReplyMessage

type ReplyMessage struct {
	Topic      string            `json:"topic"`
	Body       string            `json:"body"`
	Properties map[string]string `json:"properties"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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