customize_transport

command
v0.5.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: MIT Imports: 11 Imported by: 0

README

Customize Transport

This example builds on the falcon_host_details example to demonstrate the use of a falcon.TransportDecorator to customize HTTP client requests to the Falcon API for all calls.

Installation

go get github.com/crowdstrike/gofalcon/examples/customize_transport

Exemplary Usage

Get full details of all the hosts, with information about rate limits.

$ FALCON_CLIENT_ID="abc" FALCON_CLIENT_SECRET="XYZ" FALCON_CLOUD=us-1 \
      FALCON_RATE_LIMIT_THRESHOLD="100" customize_transport

The Falcon API rate limit information provided by the falcon.TransportDecorator in this example will be the beginning out the output.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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