frp/test/e2e/framework/client.go

10 lines
193 B
Go
Raw Normal View History

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