service

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 SendRequestFailedError = errors.New("failed to send request")

Functions

This section is empty.

Types

type RequestService

type RequestService interface {
	SendRequest(ctx context.Context, request *module.Request) (*module.Response, error)
}

func NewRequestService

func NewRequestService() RequestService

type RequestServiceImpl

type RequestServiceImpl struct {
}

func (*RequestServiceImpl) SendRequest

func (s *RequestServiceImpl) SendRequest(ctx context.Context, request *module.Request) (response *module.Response, err error)

Jump to

Keyboard shortcuts

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