http

package
v0.0.0-...-b2c1117 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WrongContentTypeError = errors.New("this is not a http request content")

Functions

This section is empty.

Types

type Sender

type Sender struct {
	HttpClient *http.Client
}

func (*Sender) Init

func (s *Sender) Init()

func (*Sender) SendOnce

func (h *Sender) SendOnce(ctx context.Context, input interface{}) (resp *module.AllResponse, err error)

SendOnce will send a message for once

Jump to

Keyboard shortcuts

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