Files

13 lines
368 B
Go

package xgress_sdk
import (
"github.com/openziti/sdk-golang/ziti"
"net"
)
// The Fabric API allows users to dial services and stay up-to-date with service/identity changes.
// The API is experimental and will either evolve or go away.
type Fabric interface {
TunnelWithOptions(serviceName string, options *ziti.DialOptions, conn net.Conn, halfClose bool) error
}