http_api_api

package
v0.0.0-...-acd6729 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiClient

type ApiClient struct {
	ApiBase string
}

func (*ApiClient) SendReq

func (this *ApiClient) SendReq(ctx context.Context, httpReqBuilder *http.RequestBuilder, apiPath string, responseObj interface{}) (httpBodyBytes []byte, err error)

type ApiClientIfce

type ApiClientIfce interface {
	SendReq(ctx context.Context, httpReqBuilder *http.RequestBuilder, apiPath string, responseObj interface{}) (httpBodyByte []byte, err error)
}

func ApiClientNew

func ApiClientNew(apiBasePath string) ApiClientIfce

Jump to

Keyboard shortcuts

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