bilibili-backup/library/net/http/blademaster/middleware/limit/aqm/example_test.go
2019-04-22 02:59:20 +00:00

10 lines
309 B
Go

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