-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathfilter.go
26 lines (24 loc) · 1.23 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
26
/**********************************************************\
| |
| hprose |
| |
| Official WebSite: http://www.hprose.com/ |
| http://www.hprose.org/ |
| |
\**********************************************************/
/**********************************************************\
* *
* hprose/filter.go *
* *
* hprose filter interface for Go. *
* *
* LastModified: May 22, 2015 *
* Author: Ma Bingyao <[email protected]> *
* *
\**********************************************************/
package hprose
// Filter is hprose filter
type Filter interface {
InputFilter(data []byte, context Context) []byte
OutputFilter(data []byte, context Context) []byte
}