Directories
¶
| Path | Synopsis |
|---|---|
|
Package async provides an easy way to dispatch a request asynchronously and catch the result when needed
|
Package async provides an easy way to dispatch a request asynchronously and catch the result when needed |
|
examples
|
|
|
async_dispatch
command
Package main demonstrates asynchronous dispatching with MaiGo.
|
Package main demonstrates asynchronous dispatching with MaiGo. |
|
base_get_request
command
Package main shows a basic GET request with MaiGo.
|
Package main shows a basic GET request with MaiGo. |
|
cancelable_request
command
Package main illustrates cancelable requests using contexts.
|
Package main illustrates cancelable requests using contexts. |
|
custom_headers_and_cookies
command
Package main demonstrates custom headers and cookies configuration.
|
Package main demonstrates custom headers and cookies configuration. |
|
load_balancing
command
Package main showcases load balancing between multiple endpoints.
|
Package main showcases load balancing between multiple endpoints. |
|
metrics_round_tripper
command
|
|
|
post_request_with_json
command
|
|
|
request_group
command
Package main groups multiple requests executed together.
|
Package main groups multiple requests executed together. |
|
request_with_tracing
command
Package main demonstrates MaiGo client tracing with OpenTelemetry.
|
Package main demonstrates MaiGo client tracing with OpenTelemetry. |
|
retry_on_server_error
command
Package main retries requests after server errors.
|
Package main retries requests after server errors. |
|
testserver
Package testserver provides a configurable HTTP test server with delay simulation capabilities for testing concurrent request scenarios.
|
Package testserver provides a configurable HTTP test server with delay simulation capabilities for testing concurrent request scenarios. |
|
tls_client_config
command
Package main demonstrates how to enable custom TLS settings on the MaiGo client.
|
Package main demonstrates how to enable custom TLS settings on the MaiGo client. |
|
pkg
|
|
|
httpx/circuitbreaker
Package circuitbreaker provides a simple HTTP client circuit breaker.
|
Package circuitbreaker provides a simple HTTP client circuit breaker. |
|
httpx/logger
Package logger provides middleware for logging HTTP client requests and responses.
|
Package logger provides middleware for logging HTTP client requests and responses. |
|
httpx/metrics
Package metrics provides middleware for metrics in HTTP client requests and responses.
|
Package metrics provides middleware for metrics in HTTP client requests and responses. |
|
httpx/retry
Package retry provides middleware for retrying HTTP client requests.
|
Package retry provides middleware for retrying HTTP client requests. |
|
httpx/tracing
Package tracing provides HTTP client middleware for instrumenting outbound requests with OpenTelemetry spans and context propagation.
|
Package tracing provides HTTP client middleware for instrumenting outbound requests with OpenTelemetry spans and context propagation. |
|
maigo
Package maigo contains core primitives for the MaiGo project.
|
Package maigo contains core primitives for the MaiGo project. |
|
maigo/contracts
Package contracts defines the interfaces used by the MaiGo HTTP client and its builders.
|
Package contracts defines the interfaces used by the MaiGo HTTP client and its builders. |
|
maigo/header
Package header provides a clean usage of header
|
Package header provides a clean usage of header |
|
maigo/method
Package method provides a clean usage of http methods.
|
Package method provides a clean usage of http methods. |
|
maigo/mime
Package mime contains the mime types to http headers
|
Package mime contains the mime types to http headers |
Click to show internal directories.
Click to hide internal directories.
