Documentation ¶
Index ¶
- func CreateExpressionHandler(ctx context.Context, expressionSaver storage.ExpressionInteractor) http.HandlerFunc
- func DeleteExpressionHandler(ctx context.Context, expressionSaver storage.ExpressionInteractor) http.HandlerFunc
- func GetExpressionsHandler(ctx context.Context, expressionSaver storage.ExpressionInteractor) http.HandlerFunc
- type Request
- type ResponseData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateExpressionHandler ¶
func CreateExpressionHandler(ctx context.Context, expressionSaver storage.ExpressionInteractor) http.HandlerFunc
CreateExpressionHandler - post method handler which stores an expression
func DeleteExpressionHandler ¶
func DeleteExpressionHandler(ctx context.Context, expressionSaver storage.ExpressionInteractor) http.HandlerFunc
DeleteExpressionHandler
func GetExpressionsHandler ¶
func GetExpressionsHandler(ctx context.Context, expressionSaver storage.ExpressionInteractor) http.HandlerFunc
GetExpressionHandler - get method handler which writes all expressions from database
Types ¶
Click to show internal directories.
Click to hide internal directories.