Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HexPayloadEncoder ¶
type HexPayloadEncoder struct { }
func (HexPayloadEncoder) Encode ¶
func (_ HexPayloadEncoder) Encode(payloadString string) (*bytes.Buffer, error)
func (HexPayloadEncoder) GetMimeType ¶
func (_ HexPayloadEncoder) GetMimeType() string
type PayloadEncoder ¶
type PayloadEncoder interface { Encode(payloadString string) (*bytes.Buffer, error) GetMimeType() string }
func CreateEncoder ¶
func CreateEncoder(contentType string) PayloadEncoder
type RawPayloadEncoder ¶
type RawPayloadEncoder struct {
MimeType string
}
func (RawPayloadEncoder) Encode ¶
func (_ RawPayloadEncoder) Encode(payloadString string) (*bytes.Buffer, error)
func (RawPayloadEncoder) GetMimeType ¶
func (e RawPayloadEncoder) GetMimeType() string
Click to show internal directories.
Click to hide internal directories.