Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorMiddleware ¶
func ErrorMiddleware(handler ErrorHandlerFunc) http.HandlerFunc
Types ¶
type CoreHandler ¶
type CoreHandler struct {
// contains filtered or unexported fields
}
func NewCoreHandler ¶
func NewCoreHandler( dataRepository DataRepository, storageHandlerURL string, transactor postgresql.Transactor, validator *validator.Validate, logger *zap.Logger, ) *CoreHandler
func (*CoreHandler) Router ¶
func (c *CoreHandler) Router() chi.Router
func (*CoreHandler) SaveVideoFeatures ¶
func (c *CoreHandler) SaveVideoFeatures(w http.ResponseWriter, r *http.Request) error
SaveVideoFeatures godoc
@Summary Принимает csv файл с фичами из видео @ID save csv @Tags Save CSV @Param file formData file true "Загружаемый csv" @Success 204 @Failure 400 {object} app_errors.AppError @Router /face_model/save_features [post]
type DataRepository ¶
type ErrorHandlerFunc ¶
type ErrorHandlerFunc func(http.ResponseWriter, *http.Request) error
type IncreaseFeaturesRequest ¶
Click to show internal directories.
Click to hide internal directories.