Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AuthHeaderMap map[string]string = map[string]string{
"APIKey": "OK-ACCESS-KEY",
"Passphrase": "OK-ACCESS-PASSPHRASE",
}
Functions ¶
func WithSamples ¶
func WithSamplesDir ¶
Types ¶
type DocumentParser ¶
type DocumentParser struct {
parser.HTTPDocumentParser
// contains filtered or unexported fields
}
DocumentParser is a parser for OKX documents
type EndpointDocumentSection ¶
type EndpointDocumentSection struct {
Title *goquery.Selection
Description []*goquery.Selection
HttpRequest *goquery.Selection
RequestMethodAndPath *goquery.Selection
RequestParameters *goquery.Selection
RequestParametersTable *goquery.Selection
ResponseExample *goquery.Selection
ResponseParameters *goquery.Selection
ResponseParametersTable *goquery.Selection
ExtraElements []*goquery.Selection
}
EndpointDocumentSection represents a section of the endpoint document
type OkxAPISubCategory ¶
type Parser ¶
type Parser struct {
parser.HTTPParser
}
Parser implements the parser.Parser interface for OKX
Click to show internal directories.
Click to hide internal directories.