example_test.go 309 B

123456789
  1. package aqm_test
  2. // This example create a supervisor middleware instance and attach to a blademaster engine,
  3. // it will allow '/ping' API can be requested with specified policy.
  4. // This example will block all http method except `GET` on '/ping' API in next hour,
  5. // and allow in further.
  6. func Example() {
  7. }