mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 02:21:29 +08:00
19 lines
507 B
Go
19 lines
507 B
Go
package main
|
|
|
|
import (
|
|
"github.com/httprunner/funplugin/fungo"
|
|
)
|
|
|
|
// register functions and build to plugin binary
|
|
func main() {
|
|
fungo.Register("sum_ints", SumInts)
|
|
fungo.Register("sum_two_int", SumTwoInt)
|
|
fungo.Register("sum", Sum)
|
|
fungo.Register("sum_two_string", SumTwoString)
|
|
fungo.Register("sum_strings", SumStrings)
|
|
fungo.Register("concatenate", Concatenate)
|
|
fungo.Register("setup_hook_example", SetupHookExample)
|
|
fungo.Register("teardown_hook_example", TeardownHookExample)
|
|
fungo.Serve()
|
|
}
|