sap_api_post_header_setup

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 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 SAPPostClient

type SAPPostClient struct {
	// contains filtered or unexported fields
}

func NewSAPPostClient

func NewSAPPostClient(sapUserName, sapPass, refreshTokenURL string, retryMaxCnt, retryIntervalMilliSec int) *SAPPostClient

func NewSAPPostClientWithOption

func NewSAPPostClientWithOption(o SAPPostClientOption) *SAPPostClient

func (*SAPPostClient) POST

func (c *SAPPostClient) POST(url string, params map[string]string, body string) (*http.Response, error)

type SAPPostClientOption

type SAPPostClientOption interface {
	User() string
	Pass() string
	RefreshTokenURL() string
	RetryMax() int
	RetryInterval() int
}

Jump to

Keyboard shortcuts

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