frp/test/e2e/framework/client.go

10 lines
193 B
Go
Raw Normal View History

2020-06-02 22:48:55 +08:00
package framework
import (
clientsdk "github.com/fatedier/frp/pkg/sdk/client"
)
2020-06-02 22:48:55 +08:00
func (f *Framework) APIClientForFrpc(port int) *clientsdk.Client {
return clientsdk.New("127.0.0.1", port)
2020-06-02 22:48:55 +08:00
}