utils

package
v0.0.0-...-e4508ab Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendRequest

func SendRequest(httpClient *http.Client, method string, appKey string, sessionToken string, url string, body io.Reader) ([]byte, error)

SendRequest sends request to the betfair servers TODO: log requests and responses (headers, body, etc)

Types

type BetfairAPIError

type BetfairAPIError struct {
	StatusCode int
	Body       string
}

func (*BetfairAPIError) Error

func (e *BetfairAPIError) Error() string

Jump to

Keyboard shortcuts

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