Documentation
¶
Index ¶
- Constants
- type API
- type Document
- func (doc *Document) GetNextShapeOptionsName() string
- func (doc *Document) GetPrice() float64
- func (doc *Document) GetShapeOptions(name string) []string
- func (doc *Document) GetShapeOptionsNames() []string
- func (doc *Document) GetShapeTextFieldNames() []string
- func (doc *Document) Mutate(endpoint string, parameters map[string]string) (*Document, error)
Constants ¶
View Source
const ( // ShapeEndpoint is the endpoint for getting information about the shapes of metal ShapeEndpoint = "/configrator_ajax.php/shape" // PriceEndpoint is the endpoint for determining the price of a piece of metal PriceEndpoint = "/configrator_ajax_result.php/shape" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
API for MetalByTheFoot website
type Document ¶
Document represents one document response from the server
func (*Document) GetNextShapeOptionsName ¶
GetNextShapeOptionsName gets the name of the next option available for a shape
func (*Document) GetShapeOptions ¶
GetShapeOptions gets a list of all options available for a shape
func (*Document) GetShapeOptionsNames ¶
GetShapeOptionsNames gets the names of all the options available for a shape
func (*Document) GetShapeTextFieldNames ¶
GetShapeTextFieldNames gets the names of all the text fields available for a shape
Click to show internal directories.
Click to hide internal directories.