Documentation
¶
Index ¶
- func CustomError(c common.Code, msg string) error
- type ErrorWrapper
- type Server
- func (s *Server) CreateConnection(ctx context.Context, req *protos.CreateConnectionRequest) (*protos.CreateConnectionResponse, error)
- func (s *Server) CreateDynamic(ctx context.Context, req *protos.CreateDynamicRequest) (*protos.CreateDynamicResponse, error)
- func (s *Server) CreateRelay(ctx context.Context, req *protos.CreateRelayRequest) (*protos.CreateRelayResponse, error)
- func (s *Server) DeleteConnection(ctx context.Context, req *protos.DeleteConnectionRequest) (*protos.DeleteConnectionResponse, error)
- func (s *Server) DeleteDynamic(ctx context.Context, req *protos.DeleteDynamicRequest) (*protos.DeleteDynamicResponse, error)
- func (s *Server) DeleteRelay(ctx context.Context, req *protos.DeleteRelayRequest) (*protos.DeleteRelayResponse, error)
- func (s *Server) GetAllConnections(_ context.Context, req *protos.GetAllConnectionsRequest) (*protos.GetAllConnectionsResponse, error)
- func (s *Server) GetAllDynamic(_ context.Context, req *protos.GetAllDynamicRequest) (*protos.GetAllDynamicResponse, error)
- func (s *Server) GetAllRelays(_ context.Context, req *protos.GetAllRelaysRequest) (*protos.GetAllRelaysResponse, error)
- func (s *Server) GetConnection(_ context.Context, req *protos.GetConnectionRequest) (*protos.GetConnectionResponse, error)
- func (s *Server) GetDynamic(_ context.Context, request *protos.GetDynamicRequest) (*protos.GetDynamicResponse, error)
- func (s *Server) GetRelay(ctx context.Context, request *protos.GetRelayRequest) (*protos.GetRelayResponse, error)
- func (s *Server) GetServerOptions(_ context.Context, req *protos.GetServerOptionsRequest) (*protos.GetServerOptionsResponse, error)
- func (s *Server) ResumeDynamic(ctx context.Context, req *protos.ResumeDynamicRequest) (*protos.ResumeDynamicResponse, error)
- func (s *Server) ResumeRelay(ctx context.Context, req *protos.ResumeRelayRequest) (*protos.ResumeRelayResponse, error)
- func (s *Server) StopDynamic(ctx context.Context, req *protos.StopDynamicRequest) (*protos.StopDynamicResponse, error)
- func (s *Server) StopRelay(ctx context.Context, req *protos.StopRelayRequest) (*protos.StopRelayResponse, error)
- func (s *Server) TestConnection(ctx context.Context, req *protos.TestConnectionRequest) (*protos.TestConnectionResponse, error)
- func (s *Server) UpdateConnection(ctx context.Context, req *protos.UpdateConnectionRequest) (*protos.UpdateConnectionResponse, error)
- func (s *Server) UpdateDynamic(ctx context.Context, req *protos.UpdateDynamicRequest) (*protos.UpdateDynamicResponse, error)
- func (s *Server) UpdateRelay(ctx context.Context, req *protos.UpdateRelayRequest) (*protos.UpdateRelayResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ErrorWrapper ¶
func (*ErrorWrapper) Error ¶
func (e *ErrorWrapper) Error() string
type Server ¶
type Server struct { Actions *actions.Actions AuthToken string PersistentConfig *config.Config Bus bus.IBus Log *logrus.Entry CLIOptions *opts.CLIOptions }
func (*Server) CreateConnection ¶
func (s *Server) CreateConnection(ctx context.Context, req *protos.CreateConnectionRequest) (*protos.CreateConnectionResponse, error)
func (*Server) CreateDynamic ¶ added in v1.2.1
func (s *Server) CreateDynamic(ctx context.Context, req *protos.CreateDynamicRequest) (*protos.CreateDynamicResponse, error)
func (*Server) CreateRelay ¶
func (s *Server) CreateRelay(ctx context.Context, req *protos.CreateRelayRequest) (*protos.CreateRelayResponse, error)
func (*Server) DeleteConnection ¶
func (s *Server) DeleteConnection(ctx context.Context, req *protos.DeleteConnectionRequest) (*protos.DeleteConnectionResponse, error)
func (*Server) DeleteDynamic ¶ added in v1.2.1
func (s *Server) DeleteDynamic(ctx context.Context, req *protos.DeleteDynamicRequest) (*protos.DeleteDynamicResponse, error)
func (*Server) DeleteRelay ¶
func (s *Server) DeleteRelay(ctx context.Context, req *protos.DeleteRelayRequest) (*protos.DeleteRelayResponse, error)
func (*Server) GetAllConnections ¶
func (s *Server) GetAllConnections(_ context.Context, req *protos.GetAllConnectionsRequest) (*protos.GetAllConnectionsResponse, error)
func (*Server) GetAllDynamic ¶ added in v1.2.1
func (s *Server) GetAllDynamic(_ context.Context, req *protos.GetAllDynamicRequest) (*protos.GetAllDynamicResponse, error)
func (*Server) GetAllRelays ¶
func (s *Server) GetAllRelays(_ context.Context, req *protos.GetAllRelaysRequest) (*protos.GetAllRelaysResponse, error)
func (*Server) GetConnection ¶
func (s *Server) GetConnection(_ context.Context, req *protos.GetConnectionRequest) (*protos.GetConnectionResponse, error)
func (*Server) GetDynamic ¶ added in v1.2.1
func (s *Server) GetDynamic(_ context.Context, request *protos.GetDynamicRequest) (*protos.GetDynamicResponse, error)
func (*Server) GetRelay ¶ added in v1.2.1
func (s *Server) GetRelay(ctx context.Context, request *protos.GetRelayRequest) (*protos.GetRelayResponse, error)
func (*Server) GetServerOptions ¶
func (s *Server) GetServerOptions(_ context.Context, req *protos.GetServerOptionsRequest) (*protos.GetServerOptionsResponse, error)
func (*Server) ResumeDynamic ¶ added in v1.2.1
func (s *Server) ResumeDynamic(ctx context.Context, req *protos.ResumeDynamicRequest) (*protos.ResumeDynamicResponse, error)
func (*Server) ResumeRelay ¶
func (s *Server) ResumeRelay(ctx context.Context, req *protos.ResumeRelayRequest) (*protos.ResumeRelayResponse, error)
func (*Server) StopDynamic ¶ added in v1.2.1
func (s *Server) StopDynamic(ctx context.Context, req *protos.StopDynamicRequest) (*protos.StopDynamicResponse, error)
func (*Server) StopRelay ¶
func (s *Server) StopRelay(ctx context.Context, req *protos.StopRelayRequest) (*protos.StopRelayResponse, error)
func (*Server) TestConnection ¶
func (s *Server) TestConnection(ctx context.Context, req *protos.TestConnectionRequest) (*protos.TestConnectionResponse, error)
func (*Server) UpdateConnection ¶
func (s *Server) UpdateConnection(ctx context.Context, req *protos.UpdateConnectionRequest) (*protos.UpdateConnectionResponse, error)
func (*Server) UpdateDynamic ¶ added in v1.2.1
func (s *Server) UpdateDynamic(ctx context.Context, req *protos.UpdateDynamicRequest) (*protos.UpdateDynamicResponse, error)
func (*Server) UpdateRelay ¶
func (s *Server) UpdateRelay(ctx context.Context, req *protos.UpdateRelayRequest) (*protos.UpdateRelayResponse, error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.