Documentation ¶
Index ¶
- Variables
- func DoDelete(client *http.Client, bearer, route string) (string, int)
- func DoGet(client *http.Client, bearer, route string) (string, int)
- func DoHttpLimitRead(client *http.Client, request *http.Request) (string, int, string)
- func DoHttpRead(client *http.Client, request *http.Request) (string, int)
- func DoHttpZRead(client *http.Client, request *http.Request, cb func(b []byte), max int64)
- func DoMultiPartPost(bearer, fullRoute string, params map[string]any) (string, int)
- func DoPost(client *http.Client, bearer, route string, payload []byte) (string, int)
- func DoPut(client *http.Client, bearer, route string, payload []byte) (string, int)
- func DoReadZipped(asBytes []byte) string
- func Get200Image(full, bearer string) bool
- func GetTo(full, bearer string) (string, int)
- func SetHeaders(bearer string, request *http.Request)
Constants ¶
This section is empty.
Variables ¶
View Source
var BaseHeaderKey = ""
View Source
var BaseHeaderValue = ""
View Source
var BaseUrl = "https://api.openai.com"
Functions ¶
func DoHttpLimitRead ¶
func DoHttpZRead ¶
func DoMultiPartPost ¶
func DoReadZipped ¶
func Get200Image ¶
func SetHeaders ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.