endpoints

package
v0.4.8 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 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(name 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 RequestHandler

type RequestHandler interface {
	Requests() func() int32
}

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