hook

package
v1.4.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RequestHook

type RequestHook func(*resty.Client, *resty.Request) error

func LoggingRequest

func LoggingRequest() RequestHook

func LoggingRequestWithLogger

func LoggingRequestWithLogger(l *logger.Logger, simply bool) RequestHook

func LoggingSimplyRequest

func LoggingSimplyRequest() RequestHook

type ResponseHook

type ResponseHook func(*resty.Client, *resty.Response) error

func LoggingResponse

func LoggingResponse() ResponseHook

func LoggingResponseWithLogger

func LoggingResponseWithLogger(l *logger.Logger, simply bool) ResponseHook

func LoggingSimplyResponse

func LoggingSimplyResponse() ResponseHook

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL