sessions

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Module("sessions", fx.Provide(newModule))

Module

Functions

This section is empty.

Types

type Muxer

type Muxer interface {
	// RegisterTunnel
	RegisterTunnel(context.Context, tunnelnet.Conn, string) error

	// UnarySession
	UnarySession(context.Context, string) (tunnelnet.ReadCloser, tunnelnet.WriteCloser, bool)

	// Cleanup session closer
	Cleanup(string)
}

type Params

type Params struct {
	fx.In

	Logger *zap.Logger

	TunnelService tunnel.Service `name:"tunnel_service"`
}

Params

type Result

type Result struct {
	fx.Out

	Mux Muxer
}

Result

Jump to

Keyboard shortcuts

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