Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithAccessToken ¶
func WithAccessToken(accessToken string) func(*RelayServer)
Types ¶
type RelayServer ¶
type RelayServer struct {
// contains filtered or unexported fields
}
func NewRelayServer ¶
func NewRelayServer(opts ...RelayServerOption) (*RelayServer, error)
func (*RelayServer) Err ¶
func (rs *RelayServer) Err() <-chan error
func (*RelayServer) ForwardPort ¶
func (rs *RelayServer) ForwardPort(ctx context.Context, port uint16) error
func (*RelayServer) URL ¶
func (rs *RelayServer) URL() string
type RelayServerOption ¶
type RelayServerOption func(*RelayServer)
func WithForwardedStream ¶
func WithForwardedStream(pfc *messages.PortForwardChannel, port uint16, data *bytes.Buffer) RelayServerOption
Click to show internal directories.
Click to hide internal directories.