Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for IsAbs (0.06 sec)

  1. internal/event/target/nats.go

    			return errors.New("empty cluster id")
    		}
    	}
    
    	if n.JetStream.Enable {
    		if n.Subject == "" {
    			return errors.New("empty subject")
    		}
    	}
    
    	if n.QueueDir != "" {
    		if !filepath.IsAbs(n.QueueDir) {
    			return errors.New("queueDir path should be absolute")
    		}
    	}
    
    	return nil
    }
    
    // To obtain a nats connection from args.
    func (n NATSArgs) connectNats() (*nats.Conn, error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  2. cmd/api-router.go

    // getHost tries its best to return the request host.
    // According to section 14.23 of RFC 2616 the Host header
    // can include the port number if the default value of 80 is not used.
    func getHost(r *http.Request) string {
    	if r.URL.IsAbs() {
    		return r.URL.Host
    	}
    	return r.Host
    }
    
    func notImplementedHandler(w http.ResponseWriter, r *http.Request) {
    	writeErrorResponse(r.Context(), w, errorCodes.ToAPIErr(ErrNotImplemented), r.URL)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 15:25:16 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  3. api/go1.txt

    pkg net/url, func QueryUnescape(string) (string, error)
    pkg net/url, func User(string) *Userinfo
    pkg net/url, func UserPassword(string, string) *Userinfo
    pkg net/url, method (*Error) Error() string
    pkg net/url, method (*URL) IsAbs() bool
    pkg net/url, method (*URL) Parse(string) (*URL, error)
    pkg net/url, method (*URL) Query() Values
    pkg net/url, method (*URL) RequestURI() string
    pkg net/url, method (*URL) ResolveReference(*URL) *URL
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top