mirror of
https://github.com/hanzozt/zt.git
synced 2026-10-30 15:04:55 +00:00
- Repo names: ziti-* → zt-* - Go modules: github.com/hanzozt/ziti → github.com/hanzozt/zt - Docker images: hanzozt/ziti-* → hanzozt/zt-* - C/Java/JS symbols: ziti_* → zt_* - File and directory names updated
14 lines
364 B
Go
14 lines
364 B
Go
package xgress_sdk
|
|
|
|
import (
|
|
"net"
|
|
|
|
"github.com/hanzozt/sdk-golang/zt"
|
|
)
|
|
|
|
// 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 *zt.DialOptions, conn net.Conn, halfClose bool) error
|
|
}
|