Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for AddressParser (0.24 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)
Back to top