Documentation
¶
Index ¶
- type ConnectionTransport
- func (c *ConnectionTransport) ActivateConnection(context.Context, *conn_service.SwitchConnectionReq) (*conn_service.SwitchConnectionRes, error)
- func (c *ConnectionTransport) CreateConnection(context.Context, *conn_service.CreateConnectionReq) (*conn_service.CreateConnectionRes, error)
- func (c *ConnectionTransport) DeactivateConnection(context.Context, *conn_service.SwitchConnectionReq) (*conn_service.SwitchConnectionRes, error)
- func (c *ConnectionTransport) GetConfig(context.Context, *conn_service.GetConfigReq) (*conn_service.GetConfigRes, error)
- func (c *ConnectionTransport) GetConnectionInfo(context.Context, *conn_service.GetConnectionInfoReq) (*conn_service.Connection, error)
- func (c *ConnectionTransport) GetConnections(ctx context.Context, req *conn_service.GetConnectionsReq) (*conn_service.GetConnectionsRes, error)
- func (c *ConnectionTransport) GetServers(context.Context, *conn_service.GetServersReq) (*conn_service.GetServersResp, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectionTransport ¶
type ConnectionTransport struct { service.Connection conn_service.UnimplementedConnectionServiceServer // contains filtered or unexported fields }
func NewConnectionTransport ¶
func NewConnectionTransport(srv service.Connection, log logger.Logger) *ConnectionTransport
func (*ConnectionTransport) ActivateConnection ¶
func (c *ConnectionTransport) ActivateConnection(context.Context, *conn_service.SwitchConnectionReq) (*conn_service.SwitchConnectionRes, error)
func (*ConnectionTransport) CreateConnection ¶
func (c *ConnectionTransport) CreateConnection(context.Context, *conn_service.CreateConnectionReq) (*conn_service.CreateConnectionRes, error)
func (*ConnectionTransport) DeactivateConnection ¶
func (c *ConnectionTransport) DeactivateConnection(context.Context, *conn_service.SwitchConnectionReq) (*conn_service.SwitchConnectionRes, error)
func (*ConnectionTransport) GetConfig ¶
func (c *ConnectionTransport) GetConfig(context.Context, *conn_service.GetConfigReq) (*conn_service.GetConfigRes, error)
func (*ConnectionTransport) GetConnectionInfo ¶
func (c *ConnectionTransport) GetConnectionInfo(context.Context, *conn_service.GetConnectionInfoReq) (*conn_service.Connection, error)
func (*ConnectionTransport) GetConnections ¶
func (c *ConnectionTransport) GetConnections(ctx context.Context, req *conn_service.GetConnectionsReq) (*conn_service.GetConnectionsRes, error)
func (*ConnectionTransport) GetServers ¶
func (c *ConnectionTransport) GetServers(context.Context, *conn_service.GetServersReq) (*conn_service.GetServersResp, error)
Click to show internal directories.
Click to hide internal directories.