github.com/goplus/gossa@v0.3.25/pkg/net/smtp/go114_export.go (about) 1 // export by github.com/goplus/gossa/cmd/qexp 2 3 //+build go1.14,!go1.15 4 5 package smtp 6 7 import ( 8 q "net/smtp" 9 10 "reflect" 11 12 "github.com/goplus/gossa" 13 ) 14 15 func init() { 16 gossa.RegisterPackage(&gossa.Package{ 17 Name: "smtp", 18 Path: "net/smtp", 19 Deps: map[string]string{ 20 "crypto/hmac": "hmac", 21 "crypto/md5": "md5", 22 "crypto/tls": "tls", 23 "encoding/base64": "base64", 24 "errors": "errors", 25 "fmt": "fmt", 26 "io": "io", 27 "net": "net", 28 "net/textproto": "textproto", 29 "strings": "strings", 30 }, 31 Interfaces: map[string]reflect.Type{ 32 "Auth": reflect.TypeOf((*q.Auth)(nil)).Elem(), 33 }, 34 NamedTypes: map[string]gossa.NamedType{ 35 "Client": {reflect.TypeOf((*q.Client)(nil)).Elem(), "", "Auth,Close,Data,Extension,Hello,Mail,Noop,Quit,Rcpt,Reset,StartTLS,TLSConnectionState,Verify,cmd,ehlo,hello,helo"}, 36 "ServerInfo": {reflect.TypeOf((*q.ServerInfo)(nil)).Elem(), "", ""}, 37 }, 38 AliasTypes: map[string]reflect.Type{}, 39 Vars: map[string]reflect.Value{}, 40 Funcs: map[string]reflect.Value{ 41 "CRAMMD5Auth": reflect.ValueOf(q.CRAMMD5Auth), 42 "Dial": reflect.ValueOf(q.Dial), 43 "NewClient": reflect.ValueOf(q.NewClient), 44 "PlainAuth": reflect.ValueOf(q.PlainAuth), 45 "SendMail": reflect.ValueOf(q.SendMail), 46 }, 47 TypedConsts: map[string]gossa.TypedConst{}, 48 UntypedConsts: map[string]gossa.UntypedConst{}, 49 }) 50 }