Documentation ¶ Index ¶ Variables func ExtractMessageBody(pMsg layer1.IMessage) ([]byte, error) func NewMessage(pSett layer1.IConstructSettings, pBody []byte) layer1.IMessage type SAppError func (err *SAppError) Error() string Constants ¶ This section is empty. Variables ¶ View Source var ( ErrInvalidBody = &SAppError{"invalid body"} ErrInvalidHead = &SAppError{"invalid head"} ) Functions ¶ func ExtractMessageBody ¶ func ExtractMessageBody(pMsg layer1.IMessage) ([]byte, error) func NewMessage ¶ func NewMessage(pSett layer1.IConstructSettings, pBody []byte) layer1.IMessage Types ¶ type SAppError ¶ type SAppError struct { // contains filtered or unexported fields } func (*SAppError) Error ¶ func (err *SAppError) Error() string Source Files ¶ View all Source files errors.go layer3.go Click to show internal directories. Click to hide internal directories.