github.com/goplus/igop@v0.25.0/pkg/net/smtp/go114_export.go (about)

     1  // export by github.com/goplus/igop/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/igop"
    13  )
    14  
    15  func init() {
    16  	igop.RegisterPackage(&igop.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]reflect.Type{
    35  			"Client":     reflect.TypeOf((*q.Client)(nil)).Elem(),
    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]igop.TypedConst{},
    48  		UntypedConsts: map[string]igop.UntypedConst{},
    49  	})
    50  }