forked from hprose/hprose-golang
-
Notifications
You must be signed in to change notification settings - Fork 0
/
filter.go
25 lines (23 loc) · 1.21 KB
/
filter.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/**********************************************************\
| |
| hprose |
| |
| Official WebSite: http://www.hprose.com/ |
| http://www.hprose.org/ |
| |
\**********************************************************/
/**********************************************************\
* *
* hprose/filter.go *
* *
* hprose filter interface for Go. *
* *
* LastModified: Mar 17, 2014 *
* Author: Ma Bingyao <andot@hprose.com> *
* *
\**********************************************************/
package hprose
type Filter interface {
InputFilter(data []byte, context Context) []byte
OutputFilter(data []byte, context Context) []byte
}