Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContextWithNopLogger ¶
ContextWithNopLogger - возвращает контекст с логерром-заглушкой.
Types ¶
type HttpRequest ¶
type HttpRequest struct {
// contains filtered or unexported fields
}
HttpRequest - помощник для работы с http запросом.
func NewHttpRequest ¶
func NewHttpRequest(method, target string, structRequest any) *HttpRequest
NewHttpRequest - создаёт объект HttpRequest.
func (*HttpRequest) Request ¶
func (r *HttpRequest) Request() *http.Request
Request - возвращает http.Request.
Click to show internal directories.
Click to hide internal directories.