Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for AddressParser (0.17 sec)

  1. src/net/mail/message.go

    	return (&addrParser{s: list}).parseAddressList()
    }
    
    // An AddressParser is an RFC 5322 address parser.
    type AddressParser struct {
    	// WordDecoder optionally specifies a decoder for RFC 2047 encoded-words.
    	WordDecoder *mime.WordDecoder
    }
    
    // Parse parses a single RFC 5322 address of the
    // form "Gogh Fir <******@****.***>" or "******@****.***".
    func (p *AddressParser) Parse(address string) (*Address, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:31:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  2. api/go1.5.txt

    pkg net/http/fcgi, var ErrRequestAborted error
    pkg net/http/pprof, func Trace(http.ResponseWriter, *http.Request)
    pkg net/mail, method (*AddressParser) Parse(string) (*Address, error)
    pkg net/mail, method (*AddressParser) ParseList(string) ([]*Address, error)
    pkg net/mail, type AddressParser struct
    pkg net/mail, type AddressParser struct, WordDecoder *mime.WordDecoder
    pkg net/smtp, method (*Client) TLSConnectionState() (tls.ConnectionState, bool)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
  3. src/net/mail/message_test.go

    			t.Errorf(`mail.ParseAddress(%q) #%d want %q, got %v`, tc.text, i, tc.wantErrText, err)
    		}
    	}
    
    	t.Run("CustomWordDecoder", func(t *testing.T) {
    		p := &AddressParser{WordDecoder: &mime.WordDecoder{}}
    		for i, tc := range mustErrTestCases {
    			_, err := p.Parse(tc.text)
    			if err == nil || !strings.Contains(err.Error(), tc.wantErrText) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:31:03 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(*Address).String", Method, 0},
    		{"(*AddressParser).Parse", Method, 5},
    		{"(*AddressParser).ParseList", Method, 5},
    		{"(Header).AddressList", Method, 0},
    		{"(Header).Date", Method, 0},
    		{"(Header).Get", Method, 0},
    		{"Address", Type, 0},
    		{"Address.Address", Field, 0},
    		{"Address.Name", Field, 0},
    		{"AddressParser", Type, 5},
    		{"AddressParser.WordDecoder", Field, 5},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top