Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsGatewayErrorCode ¶
Types ¶
type ConnectArtifactIssuer ¶
type ConnectArtifactIssuer interface {
IssueGatewayConnectArtifact(ctx context.Context, req protocol.OpenSessionRequest) (GatewayConnectArtifactIssue, error)
}
type GatewayConnectArtifactIssue ¶
type GatewayConnectArtifactIssue struct {
GatewayID string
GatewaySessionID string
ConnectArtifact protocol.GatewayConnectArtifact
DiagnosticsHint *protocol.DiagnosticsHint
}
type GatewayError ¶
func (*GatewayError) Error ¶
func (e *GatewayError) Error() string
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(options ...ServiceOption) *Service
func (*Service) OpenSession ¶
func (s *Service) OpenSession(ctx context.Context, req protocol.OpenSessionRequest) (*protocol.OpenSessionResponse, error)
type ServiceOption ¶
type ServiceOption func(*Service)
func WithConnectArtifactIssuer ¶
func WithConnectArtifactIssuer(issuer ConnectArtifactIssuer) ServiceOption
Click to show internal directories.
Click to hide internal directories.