UrlExtend

package
v0.0.0-...-3e0a51a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2019 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TUrl

type TUrl struct {
	URL      *url.URL        // 访问地址
	ObjError *mwError.TError // Error Object
}

func NewUrl

func NewUrl(errObj *mwError.TError) *TUrl

func (*TUrl) AddParam

func (self *TUrl) AddParam(Name string, Value string)

func (*TUrl) GenSign

func (self *TUrl) GenSign(Name string)

func (*TUrl) GetEncode

func (self *TUrl) GetEncode() string

func (*TUrl) GetHost

func (self *TUrl) GetHost() string

func (*TUrl) GetPath

func (self *TUrl) GetPath() string

func (*TUrl) GetPort

func (self *TUrl) GetPort() string

func (*TUrl) GetScheme

func (self *TUrl) GetScheme() string

func (*TUrl) IsTls

func (self *TUrl) IsTls() bool

func (*TUrl) IsWebSocket

func (self *TUrl) IsWebSocket() bool

func (*TUrl) SetScheme

func (self *TUrl) SetScheme(Scheme string)

func (*TUrl) SetUrl

func (self *TUrl) SetUrl(URL string)

func (*TUrl) SetUserPassword

func (self *TUrl) SetUserPassword(Name string, Password string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL