hook

package
v0.0.0-...-a2093d6 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: LGPL-2.1 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