Documentation ¶
Index ¶
Constants ¶
View Source
const (
REQ_X_API = "X-API"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostAPIMux ¶
type PostAPIMux struct {
// contains filtered or unexported fields
}
func New ¶
func New(appName string) *PostAPIMux
func (*PostAPIMux) APIMatcher ¶
func (p *PostAPIMux) APIMatcher() martini.Handler
APIMatcher is for martini
func (*PostAPIMux) AppName ¶
func (p *PostAPIMux) AppName() string
func (*PostAPIMux) ServeHTTP ¶
func (p *PostAPIMux) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.