endpoints

package
v0.4.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRefreshedService

func GetRefreshedService(svcName string, ctx ziti.Context) (*rest_model.ServiceDetail, bool)

func JoinURLPath

func JoinURLPath(a, b *url.URL) (path, rawpath string)

func NewZrokListener added in v0.4.6

func NewZrokListener(_ context.Context, _ string, addr string, _ net.ListenConfig) (any, error)

func TXer added in v0.4.0

func TXer(from, to net.Conn)

Types

type Request

type Request struct {
	Stamp      time.Time
	RemoteAddr string
	Method     string
	Path       string
}

type ZrokListener added in v0.4.6

type ZrokListener struct {
	// contains filtered or unexported fields
}

func (*ZrokListener) Accept added in v0.4.6

func (l *ZrokListener) Accept() (net.Conn, error)

func (*ZrokListener) Addr added in v0.4.6

func (l *ZrokListener) Addr() net.Addr

func (*ZrokListener) Close added in v0.4.6

func (l *ZrokListener) Close() error

func (*ZrokListener) Network added in v0.4.6

func (l *ZrokListener) Network() string

func (*ZrokListener) String added in v0.4.6

func (l *ZrokListener) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL