Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBodyBytes ¶
func GetBodyBytes() []byte
func PutBodyBytes ¶
func PutBodyBytes(data []byte)
func RealIP ¶
func RealIP(ctx *fasthttp.RequestCtx) string
Types ¶
type HttpConfig ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(log *logger.Logger, cfg *HttpConfig) *Service
func (*Service) ReadReqBody ¶
Click to show internal directories.
Click to hide internal directories.