http

package
v1.1.24 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Http

type Http struct {
	Http   *pipeline.Http
	Client *resty.Client
}

Http send message to http api

func New

func New(cfg *pipeline.Http) (h *Http, err error)

New returns a new Http

func (*Http) Close added in v1.1.3

func (h *Http) Close() error

func (*Http) Send

func (h *Http) Send(msg *message2.Message) (ok bool, err error)

Send logic and control

Jump to

Keyboard shortcuts

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