Rename ExecuteForAPI to ExecuteForOutline
This commit is contained in:
@@ -39,7 +39,7 @@ func Outline(path string, opts *ProxyOptions) fiber.Handler {
|
||||
tx.APIOutline(),
|
||||
).
|
||||
SetFiberCtx(c).
|
||||
ExecuteForAPI()
|
||||
ExecuteForOutline()
|
||||
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
|
||||
@@ -519,7 +519,7 @@ func (chain *ProxyChain) Execute() error {
|
||||
// return chain.Context.SendStream(body)
|
||||
}
|
||||
|
||||
func (chain *ProxyChain) ExecuteForAPI() (string, error) {
|
||||
func (chain *ProxyChain) ExecuteForOutline() (string, error) {
|
||||
defer chain._reset()
|
||||
body, err := chain._execute()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user