Documentation ¶
Index ¶
Constants ¶
View Source
const ( Base64EncoderNormalMode = iota Base64EncoderFlatMode )
Variables ¶
View Source
var DefaultBase64Encoder = &Base64Encoder{name: "Base64", mode: Base64EncoderNormalMode}
View Source
var DefaultBase64FlatEncoder = &Base64Encoder{name: "Base64Flat", mode: Base64EncoderFlatMode}
View Source
var DefaultJSUnicodeEncoder = &JSUnicodeEncoder{name: "JSUnicode"}
View Source
var DefaultPlainEncoder = &PlainEncoder{name: "Plain"}
View Source
var DefaultURLEncoder = &URLEncoder{name: "URL"}
View Source
var DefaultXMLEntityEncoder = &XMLEntityEncoder{name: "XMLEntity"}
View Source
var Encoders map[string]Encoder
Functions ¶
Types ¶
type Base64Encoder ¶
type Base64Encoder struct {
// contains filtered or unexported fields
}
func (*Base64Encoder) GetName ¶
func (enc *Base64Encoder) GetName() string
type JSUnicodeEncoder ¶
type JSUnicodeEncoder struct {
// contains filtered or unexported fields
}
func (*JSUnicodeEncoder) GetName ¶
func (enc *JSUnicodeEncoder) GetName() string
type PlainEncoder ¶
type PlainEncoder struct {
// contains filtered or unexported fields
}
func (*PlainEncoder) GetName ¶
func (enc *PlainEncoder) GetName() string
type URLEncoder ¶
type URLEncoder struct {
// contains filtered or unexported fields
}
func (*URLEncoder) GetName ¶
func (enc *URLEncoder) GetName() string
type UnknownEncoderError ¶ added in v0.5.0
type UnknownEncoderError struct {
// contains filtered or unexported fields
}
func (*UnknownEncoderError) Error ¶ added in v0.5.0
func (e *UnknownEncoderError) Error() string
type XMLEntityEncoder ¶
type XMLEntityEncoder struct {
// contains filtered or unexported fields
}
func (*XMLEntityEncoder) GetName ¶
func (enc *XMLEntityEncoder) GetName() string
Click to show internal directories.
Click to hide internal directories.