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

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