Documentation ¶
Index ¶
- Constants
- type UrlInfo
- func (u *UrlInfo) GetForceQuery() bool
- func (u *UrlInfo) GetFragment() string
- func (u *UrlInfo) GetHost() string
- func (u *UrlInfo) GetIPAndPort() (ip string, port int)
- func (u *UrlInfo) GetOpaque() string
- func (u *UrlInfo) GetPassword() string
- func (u *UrlInfo) GetPath() string
- func (u *UrlInfo) GetQueries() map[string]string
- func (u *UrlInfo) GetScheme() string
- func (u *UrlInfo) GetUser() string
Constants ¶
View Source
const ( URL_SCHEME_HTTPS = "https" URL_SCHEME_HTTP = "http" URL_SCHEME_MYSQL = "mysql" URL_SCHEME_POSTGRES = "postgres" URL_SCHEME_REDIS = "redis" URL_SCHEME_ETCD = "etcd" URL_SCHEME_KAFKA = "kafka" URL_SCHEME_MSSQL = "mssql" URL_SCHEME_ZOOKEEPER = "zookeeper" URL_SCHEME_SEP = "://" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UrlInfo ¶
type UrlInfo struct { Scheme string // http... Host string // host name and port eg. '127.0.0.1:3306' User string // user Password string // password Path string // path Fragment string // fragment Opaque string // opaque ForceQuery bool // force query Queries map[string]string // queries }
func (*UrlInfo) GetForceQuery ¶
func (*UrlInfo) GetFragment ¶
func (*UrlInfo) GetIPAndPort ¶
func (*UrlInfo) GetPassword ¶
func (*UrlInfo) GetQueries ¶
Click to show internal directories.
Click to hide internal directories.