Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MyCustomContextMiddleware ¶
func MyCustomContextMiddleware() echo.MiddlewareFunc
カスタムコンテキストを定義するMiddleware
func PredictionModelMiddleware ¶
func PredictionModelMiddleware(modelFile string) echo.MiddlewareFunc
func SQLiteMiddleware ¶
func SQLiteMiddleware(datasource string) echo.MiddlewareFunc
SQLiteを設定するMiddleware
Types ¶
type CustomContext ¶
type CustomContext struct { echo.Context Session *dbr.Session PredictionModel *PredictionModel }
カスタムコンテキスト
type PredictionModel ¶
func LoadPredictionModel ¶
func LoadPredictionModel(model string) (*PredictionModel, error)
Click to show internal directories.
Click to hide internal directories.