Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnsupportedFormat = errors.New("unsupported format")
Functions ¶
This section is empty.
Types ¶
type JSONOutput ¶
type JSONOutput struct {
// contains filtered or unexported fields
}
func NewJSONOutput ¶
func NewJSONOutput() *JSONOutput
func NewRawOutput ¶
func NewRawOutput() *JSONOutput
func (*JSONOutput) MessageState ¶
func (o *JSONOutput) MessageState(src smsgateway.MessageState) (string, error)
type Renderer ¶
type Renderer interface {
MessageState(src smsgateway.MessageState) (string, error)
}
type TextOutput ¶
type TextOutput struct { }
func NewTextOutput ¶
func NewTextOutput() *TextOutput
func (*TextOutput) MessageState ¶
func (*TextOutput) MessageState(src smsgateway.MessageState) (string, error)
Click to show internal directories.
Click to hide internal directories.