Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TunnelClient ¶ added in v1.26.0
type TunnelClient struct {
// contains filtered or unexported fields
}
func NewTunnelClient ¶ added in v1.26.0
func NewTunnelClient(addr string, cfg *tls.Config) *TunnelClient
func (*TunnelClient) Close ¶ added in v1.26.0
func (c *TunnelClient) Close() error
func (*TunnelClient) DialContext ¶ added in v1.26.0
func (c *TunnelClient) DialContext(ctx context.Context, dst string) (io.ReadWriteCloser, error)
type TunnelServer ¶ added in v1.26.0
type TunnelServer struct { pb.UnimplementedTunnelServer // contains filtered or unexported fields }
TunnelServer is a GRPC tunnel server, its zero value is ready to use
func (*TunnelServer) Close ¶ added in v1.26.0
func (s *TunnelServer) Close() error
func (*TunnelServer) Serve ¶ added in v1.26.0
Serve will return a non-nil error unless Close is called.
func (*TunnelServer) Stream ¶ added in v1.26.0
func (s *TunnelServer) Stream(stream pb.Tunnel_StreamServer) error
Click to show internal directories.
Click to hide internal directories.