Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IMessage ¶
type IMessage interface { Code() string Type() messagetype.MessageType IsError() bool IsWarning() bool ShortDescription() string LongDescription() string }
IMessage interface
func NewMessage ¶
func NewMessage(code string, messageType messagetype.MessageType, definition string, args ...interface{}) IMessage
NewMessage creates new message
type Message ¶
type Message struct {
// contains filtered or unexported fields
}
Message type
func (*Message) LongDescription ¶
LongDescription is message long description
func (*Message) ShortDescription ¶
ShortDescription is message short description
Click to show internal directories.
Click to hide internal directories.