Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mentix ¶
type Mentix struct {
// contains filtered or unexported fields
}
Mentix represents the main Mentix service object.
func (*Mentix) GetRequestExporters ¶
func (mntx *Mentix) GetRequestExporters() []exchangers.RequestExchanger
GetRequestExporters returns all exporters that can handle HTTP requests.
func (*Mentix) GetRequestImporters ¶
func (mntx *Mentix) GetRequestImporters() []exchangers.RequestExchanger
GetRequestImporters returns all exporters that can handle HTTP requests.
func (*Mentix) RequestHandler ¶
func (mntx *Mentix) RequestHandler(w http.ResponseWriter, r *http.Request)
RequestHandler handles any incoming HTTP requests by asking each RequestExchanger whether it wants to handle the request (usually based on the relative URL path).