Documentation ¶
Index ¶
- func ToBytes(input interface{}) []byte
- func ToString(input interface{}) string
- type Base64DecodeFilter
- type Base64EncodeFilter
- type Dec2HexFilter
- type FilterInterface
- type HTMLEscapeFilter
- type HTMLUnescapeFilter
- type Hex2DecFilter
- type LengthFilter
- type Md5Filter
- type Sha1Filter
- type Sha256Filter
- type URLDecodeFilter
- type URLEncodeFilter
- type UnicodeDecodeFilter
- type UnicodeEncodeFilter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Base64DecodeFilter ¶
type Base64DecodeFilter struct { }
func (*Base64DecodeFilter) Do ¶
func (this *Base64DecodeFilter) Do(input interface{}, options interface{}) (output interface{}, goNext bool, err error)
func (*Base64DecodeFilter) Init ¶
func (this *Base64DecodeFilter) Init() error
type Base64EncodeFilter ¶
type Base64EncodeFilter struct { }
func (*Base64EncodeFilter) Do ¶
func (this *Base64EncodeFilter) Do(input interface{}, options interface{}) (output interface{}, goNext bool, err error)
func (*Base64EncodeFilter) Init ¶
func (this *Base64EncodeFilter) Init() error
type Dec2HexFilter ¶
type Dec2HexFilter struct { }
func (*Dec2HexFilter) Do ¶
func (this *Dec2HexFilter) Do(input interface{}, options interface{}) (output interface{}, goNext bool, err error)
执行过滤
type FilterInterface ¶
type FilterInterface interface { // 初始化 Init() error // 执行过滤 Do(input interface{}, options interface{}) (output interface{}, goNext bool, err error) }
过滤接口
type HTMLEscapeFilter ¶
type HTMLEscapeFilter struct { }
func (*HTMLEscapeFilter) Do ¶
func (this *HTMLEscapeFilter) Do(input interface{}, options interface{}) (output interface{}, goNext bool, err error)
执行过滤
type HTMLUnescapeFilter ¶
type HTMLUnescapeFilter struct { }
func (*HTMLUnescapeFilter) Do ¶
func (this *HTMLUnescapeFilter) Do(input interface{}, options interface{}) (output interface{}, goNext bool, err error)
执行过滤
type Hex2DecFilter ¶
type Hex2DecFilter struct { }
func (*Hex2DecFilter) Do ¶
func (this *Hex2DecFilter) Do(input interface{}, options interface{}) (output interface{}, goNext bool, err error)
执行过滤
type LengthFilter ¶
type LengthFilter struct { }
func (*LengthFilter) Do ¶
func (this *LengthFilter) Do(input interface{}, options interface{}) (output interface{}, goNext bool, err error)
执行过滤
type Sha1Filter ¶
type Sha1Filter struct { }
func (*Sha1Filter) Do ¶
func (this *Sha1Filter) Do(input interface{}, options interface{}) (output interface{}, goNext bool, err error)
执行过滤
type Sha256Filter ¶
type Sha256Filter struct { }
func (*Sha256Filter) Do ¶
func (this *Sha256Filter) Do(input interface{}, options interface{}) (output interface{}, goNext bool, err error)
执行过滤
type URLDecodeFilter ¶
type URLDecodeFilter struct { }
func (*URLDecodeFilter) Do ¶
func (this *URLDecodeFilter) Do(input interface{}, options interface{}) (output interface{}, goNext bool, err error)
func (*URLDecodeFilter) Init ¶
func (this *URLDecodeFilter) Init() error
type URLEncodeFilter ¶
type URLEncodeFilter struct { }
func (*URLEncodeFilter) Do ¶
func (this *URLEncodeFilter) Do(input interface{}, options interface{}) (output interface{}, goNext bool, err error)
func (*URLEncodeFilter) Init ¶
func (this *URLEncodeFilter) Init() error
type UnicodeDecodeFilter ¶
type UnicodeDecodeFilter struct { }
func (*UnicodeDecodeFilter) Do ¶
func (this *UnicodeDecodeFilter) Do(input interface{}, options interface{}) (output interface{}, goNext bool, err error)
执行过滤
type UnicodeEncodeFilter ¶
type UnicodeEncodeFilter struct { }
func (*UnicodeEncodeFilter) Do ¶
func (this *UnicodeEncodeFilter) Do(input interface{}, options interface{}) (output interface{}, goNext bool, err error)
执行过滤
Source Files ¶
- filter_base64_decode.go
- filter_base64_encode.go
- filter_dec2hex.go
- filter_hex2dec.go
- filter_html_escape.go
- filter_html_unescape.go
- filter_interface.go
- filter_length.go
- filter_md5.go
- filter_sha1.go
- filter_sha256.go
- filter_unicode_decode.go
- filter_unicode_encode.go
- filter_urldecode.go
- filter_urlencode.go
- filters.go
- utils.go
Click to show internal directories.
Click to hide internal directories.