/
net_textproto.go
35 lines (32 loc) · 1.41 KB
/
net_textproto.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
27
28
29
30
31
32
33
34
35
// this file was generated by gomacro command: import _b "net/textproto"
// DO NOT EDIT! Any change will be lost when the file is re-generated
package imports
import (
. "reflect"
textproto "net/textproto"
)
// reflection: allow interpreted code to import "net/textproto"
func init() {
Packages["net/textproto"] = Package{
Name: "textproto",
Binds: map[string]Value{
"CanonicalMIMEHeaderKey": ValueOf(textproto.CanonicalMIMEHeaderKey),
"Dial": ValueOf(textproto.Dial),
"NewConn": ValueOf(textproto.NewConn),
"NewReader": ValueOf(textproto.NewReader),
"NewWriter": ValueOf(textproto.NewWriter),
"TrimBytes": ValueOf(textproto.TrimBytes),
"TrimString": ValueOf(textproto.TrimString),
}, Types: map[string]Type{
"Conn": TypeOf((*textproto.Conn)(nil)).Elem(),
"Error": TypeOf((*textproto.Error)(nil)).Elem(),
"MIMEHeader": TypeOf((*textproto.MIMEHeader)(nil)).Elem(),
"Pipeline": TypeOf((*textproto.Pipeline)(nil)).Elem(),
"ProtocolError": TypeOf((*textproto.ProtocolError)(nil)).Elem(),
"Reader": TypeOf((*textproto.Reader)(nil)).Elem(),
"Writer": TypeOf((*textproto.Writer)(nil)).Elem(),
}, Wrappers: map[string][]string{
"Conn": []string{"DotReader","DotWriter","EndRequest","EndResponse","Next","PrintfLine","ReadCodeLine","ReadContinuedLine","ReadContinuedLineBytes","ReadDotBytes","ReadDotLines","ReadLine","ReadLineBytes","ReadMIMEHeader","ReadResponse","StartRequest","StartResponse",},
},
}
}