Documentation ¶
Index ¶
- type ControlServer
- func (c *ControlServer) Connect(ctx context.Context, req *cliapi.ConnectRequest) (*emptypb.Empty, error)
- func (c *ControlServer) Disconnect(_ context.Context, _ *emptypb.Empty) (*emptypb.Empty, error)
- func (c *ControlServer) GetStatus(_ context.Context, _ *emptypb.Empty) (*cliapi.RelayStatusResponse, error)
- type PeerServer
- func (p *PeerServer) GetPeers(ctx context.Context, req *emptypb.Empty) (*cliapi.PeerList, error)
- func (p *PeerServer) RemovePeer(ctx context.Context, req *cliapi.RemovePeerRequest) (*emptypb.Empty, error)
- func (p *PeerServer) SetPeer(ctx context.Context, req *cliapi.SetPeerRequest) (*cliapi.PeerResponse, error)
- type RelayControl
- type Server
- type TunnelServer
- func (t *TunnelServer) Create(ctx context.Context, req *cliapi.CreateTunnelRequest) (*cliapi.TunnelResponse, error)
- func (t *TunnelServer) Delete(ctx context.Context, req *cliapi.DeleteRequest) (*emptypb.Empty, error)
- func (t *TunnelServer) List(ctx context.Context, req *emptypb.Empty) (*cliapi.ListResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControlServer ¶
type ControlServer struct { cliapi.UnimplementedControlServer // contains filtered or unexported fields }
func (*ControlServer) Connect ¶
func (c *ControlServer) Connect(ctx context.Context, req *cliapi.ConnectRequest) (*emptypb.Empty, error)
func (*ControlServer) Disconnect ¶
func (*ControlServer) GetStatus ¶
func (c *ControlServer) GetStatus(_ context.Context, _ *emptypb.Empty) (*cliapi.RelayStatusResponse, error)
type PeerServer ¶
type PeerServer struct {
cliapi.UnimplementedPeerServer
}
func (*PeerServer) RemovePeer ¶
func (p *PeerServer) RemovePeer(ctx context.Context, req *cliapi.RemovePeerRequest) (*emptypb.Empty, error)
func (*PeerServer) SetPeer ¶
func (p *PeerServer) SetPeer(ctx context.Context, req *cliapi.SetPeerRequest) (*cliapi.PeerResponse, error)
type RelayControl ¶
type RelayControl interface { }
type TunnelServer ¶
type TunnelServer struct {
cliapi.UnimplementedTunnelServer
}
func (*TunnelServer) Create ¶
func (t *TunnelServer) Create(ctx context.Context, req *cliapi.CreateTunnelRequest) (*cliapi.TunnelResponse, error)
func (*TunnelServer) Delete ¶
func (t *TunnelServer) Delete(ctx context.Context, req *cliapi.DeleteRequest) (*emptypb.Empty, error)
func (*TunnelServer) List ¶
func (t *TunnelServer) List(ctx context.Context, req *emptypb.Empty) (*cliapi.ListResponse, error)
Click to show internal directories.
Click to hide internal directories.