mirror of
https://github.com/hanzozt/zt.git
synced 2026-11-02 11:38:22 +00:00
13 lines
368 B
Go
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
|
|
}
|