Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorCode ¶
type ErrorCode string
const ( ErrorFormatViolation ErrorCode = "FormatViolation" ErrorGenericError ErrorCode = "GenericError" ErrorInternalError ErrorCode = "InternalError" ErrorMessageTypeNotSupported ErrorCode = "MessageTypeNotSupported" ErrorNotImplemented ErrorCode = "NotImplemented" ErrorNotSupported ErrorCode = "NotSupported" ErrorOccurrenceConstraintViolation ErrorCode = "OccurrenceConstraintViolation" ErrorPropertyConstraintViolation ErrorCode = "PropertyConstraintViolation" ErrorProtocolError ErrorCode = "ProtocolError" ErrorRpcFrameworkError ErrorCode = "RpcFrameworkError" ErrorSecurityError ErrorCode = "SecurityError" ErrorTypeConstraintViolation ErrorCode = "TypeConstraintViolation" )
type Message ¶
type Message struct { MessageTypeId MessageType MessageId string Data []json.RawMessage }
func (Message) MarshalJSON ¶
func (*Message) UnmarshalJSON ¶
type MessageType ¶
type MessageType int
const ( MessageTypeCall MessageType = iota + 2 MessageTypeCallResult MessageTypeCallError )
Click to show internal directories.
Click to hide internal directories.