Documentation ¶
Index ¶
- Constants
- type ApiHandler
- type App
- func (a *App) ApiCall(ah ApiHandler) http.HandlerFunc
- func (a *App) Close()
- func (a *App) GetPublicParam(r *http.Request) (int, interface{})
- func (app *App) InitRouter()
- func (a *App) LoadConfig(file string) error
- func (a *App) NotFound(r *http.Request) (int, interface{})
- func (a *App) PostPublicParam(r *http.Request) (respCode int, respValue interface{})
- type Conf
- type H
- type ParamProps
- type SiteInfo
Constants ¶
View Source
const (
PublicBucketName = "PublicVars"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiHandler ¶
type App ¶
func (*App) ApiCall ¶
func (a *App) ApiCall(ah ApiHandler) http.HandlerFunc
func (*App) InitRouter ¶
func (app *App) InitRouter()
func (*App) LoadConfig ¶
type ParamProps ¶
type ParamProps struct { Default interface{} MaxRequestSize int RawSchema json.RawMessage `json:"Schema"` Schema *gojsonschema.Schema `json:-` }
Click to show internal directories.
Click to hide internal directories.