Documentation ¶
Index ¶
Constants ¶
View Source
const ( DestinationProtocolKey = "dst_protocol" DestinationIpKey = "dst_ip" DestinationPortKey = "dst_port" SourceAddrKey = "source_addr" )
Variables ¶
This section is empty.
Functions ¶
func AppDataToMap ¶ added in v0.19.43
func DialAndRun ¶ added in v0.16.20
func DialAndRun(provider FabricProvider, service string, clientConn net.Conn, halfClose bool)
Types ¶
type FabricProvider ¶ added in v0.19.10
type FabricProvider interface { PrepForUse(serviceId string) GetCurrentIdentity() (*edge.CurrentIdentity, error) TunnelService(conn net.Conn, service string, halfClose bool) error HostService(hostCtx HostingContext) (HostControl, error) }
func NewContextProvider ¶ added in v0.19.10
func NewContextProvider(context ziti.Context) FabricProvider
type HostControl ¶ added in v0.19.10
type HostingContext ¶ added in v0.19.10
type HostingContext interface { ServiceName() string ListenOptions() *ziti.ListenOptions Dial(options map[string]interface{}) (net.Conn, error) SupportHalfClose() bool GetHealthChecks() []health.CheckDefinition GetInitialHealthState() (ziti.Precedence, uint16) OnClose() SetCloseCallback(func()) }
Click to show internal directories.
Click to hide internal directories.