SYMBOL INDEX (197 symbols across 17 files) FILE: auth.go type AuthFactory (line 13) | type AuthFactory type Authorizer (line 17) | type Authorizer interface type Authenticator (line 56) | type Authenticator interface type authfactory (line 68) | type authfactory struct type authorizer (line 74) | type authorizer struct method NewAuthenticator (line 153) | func (a *authorizer) NewAuthenticator(body io.Reader) (Authenticator, ... method AddAuthenticator (line 179) | func (a *authorizer) AddAuthenticator(key string, fn AuthFactory) { method factory (line 190) | func (a *authorizer) factory(c *http.Client, rs *http.Response, path s... method setDefaultAuthenticator (line 225) | func (a *authorizer) setDefaultAuthenticator(auth Authenticator) { type preemptiveAuthorizer (line 81) | type preemptiveAuthorizer struct method NewAuthenticator (line 402) | func (b *preemptiveAuthorizer) NewAuthenticator(body io.Reader) (Authe... method AddAuthenticator (line 407) | func (b *preemptiveAuthorizer) AddAuthenticator(key string, fn AuthFac... type authShim (line 86) | type authShim struct method Authorize (line 233) | func (s *authShim) Authorize(c *http.Client, rq *http.Request, path st... method Verify (line 254) | func (s *authShim) Verify(c *http.Client, rs *http.Response, path stri... method Close (line 269) | func (s *authShim) Close() error { method Clone (line 282) | func (s *authShim) Clone() Authenticator { method String (line 287) | func (s *authShim) String() string { type negoAuth (line 93) | type negoAuth struct method Authorize (line 292) | func (n *negoAuth) Authorize(c *http.Client, rq *http.Request, path st... method Verify (line 300) | func (n *negoAuth) Verify(c *http.Client, rs *http.Response, path stri... method Close (line 324) | func (n *negoAuth) Close() error { method Clone (line 333) | func (n *negoAuth) Clone() Authenticator { method String (line 341) | func (n *negoAuth) String() string { type nullAuth (line 99) | type nullAuth struct method Authorize (line 375) | func (n *nullAuth) Authorize(c *http.Client, rq *http.Request, path st... method Verify (line 381) | func (n *nullAuth) Verify(c *http.Client, rs *http.Response, path stri... method Close (line 386) | func (n *nullAuth) Close() error { method Clone (line 391) | func (n *nullAuth) Clone() Authenticator { method String (line 397) | func (n *nullAuth) String() string { type noAuth (line 102) | type noAuth struct method Authorize (line 346) | func (n *noAuth) Authorize(c *http.Client, rq *http.Request, path stri... method Verify (line 351) | func (n *noAuth) Verify(c *http.Client, rs *http.Response, path string... method Close (line 359) | func (n *noAuth) Close() error { method Clone (line 364) | func (n *noAuth) Clone() Authenticator { method String (line 370) | func (n *noAuth) String() string { function NewAutoAuth (line 109) | func NewAutoAuth(login string, secret string) Authorizer { function NewEmptyAuth (line 132) | func NewEmptyAuth() Authorizer { function NewPreemptiveAuth (line 148) | func NewPreemptiveAuth(auth Authenticator) Authorizer { FILE: auth_test.go function TestEmptyAuth (line 10) | func TestEmptyAuth(t *testing.T) { function TestRedirectAuthWIP (line 20) | func TestRedirectAuthWIP(t *testing.T) { FILE: basicAuth.go type BasicAuth (line 9) | type BasicAuth struct method Authorize (line 15) | func (b *BasicAuth) Authorize(c *http.Client, rq *http.Request, path s... method Verify (line 21) | func (b *BasicAuth) Verify(c *http.Client, rs *http.Response, path str... method Close (line 29) | func (b *BasicAuth) Close() error { method Clone (line 34) | func (b *BasicAuth) Clone() Authenticator { method String (line 40) | func (b *BasicAuth) String() string { FILE: basicAuth_test.go function TestNewBasicAuth (line 8) | func TestNewBasicAuth(t *testing.T) { function TestBasicAuthAuthorize (line 25) | func TestBasicAuthAuthorize(t *testing.T) { function TestPreemtiveBasicAuth (line 34) | func TestPreemtiveBasicAuth(t *testing.T) { FILE: client.go constant XInhibitRedirect (line 16) | XInhibitRedirect = "X-Gowebdav-Inhibit-Redirect" type Client (line 19) | type Client struct method SetHeader (line 49) | func (c *Client) SetHeader(key, value string) { method SetInterceptor (line 54) | func (c *Client) SetInterceptor(interceptor func(method string, rq *ht... method SetTimeout (line 59) | func (c *Client) SetTimeout(timeout time.Duration) { method SetTransport (line 64) | func (c *Client) SetTransport(transport http.RoundTripper) { method SetJar (line 69) | func (c *Client) SetJar(jar http.CookieJar) { method Connect (line 74) | func (c *Client) Connect() error { method ReadDir (line 117) | func (c *Client) ReadDir(path string) ([]os.FileInfo, error) { method Stat (line 184) | func (c *Client) Stat(path string) (os.FileInfo, error) { method Remove (line 236) | func (c *Client) Remove(path string) error { method RemoveAll (line 241) | func (c *Client) RemoveAll(path string) error { method Mkdir (line 259) | func (c *Client) Mkdir(path string, _ os.FileMode) (err error) { method MkdirAll (line 273) | func (c *Client) MkdirAll(path string, _ os.FileMode) (err error) { method Rename (line 305) | func (c *Client) Rename(oldpath, newpath string, overwrite bool) error { method Copy (line 310) | func (c *Client) Copy(oldpath, newpath string, overwrite bool) error { method Read (line 315) | func (c *Client) Read(path string) ([]byte, error) { method ReadStream (line 333) | func (c *Client) ReadStream(path string) (io.ReadCloser, error) { method ReadStreamRange (line 355) | func (c *Client) ReadStreamRange(path string, offset, length int64) (i... method Write (line 389) | func (c *Client) Write(path string, data []byte, _ os.FileMode) (err e... method WriteStream (line 419) | func (c *Client) WriteStream(path string, stream io.Reader, _ os.FileM... method WriteStreamWithLength (line 463) | func (c *Client) WriteStreamWithLength(path string, stream io.Reader, ... function NewClient (line 28) | func NewClient(uri, user, pw string) *Client { function NewAuthClient (line 33) | func NewAuthClient(uri string, auth Authorizer) *Client { type props (line 92) | type props struct type response (line 102) | type response struct function getProps (line 107) | func getProps(r *response, status string) *props { FILE: client_test.go function noAuthHndl (line 21) | func noAuthHndl(h http.Handler) http.HandlerFunc { function basicAuth (line 27) | func basicAuth(h http.Handler) http.HandlerFunc { function basicAuthNoContent (line 43) | func basicAuthNoContent(h http.Handler) http.HandlerFunc { function basicAuthWithPostHandlerFunc (line 60) | func basicAuthWithPostHandlerFunc(h http.Handler, postHandlerFunc http.H... function multipleAuth (line 79) | func multipleAuth(h http.Handler) http.HandlerFunc { function fillFs (line 127) | func fillFs(t *testing.T, fs webdav.FileSystem) context.Context { function newServer (line 148) | func newServer(t *testing.T) (*Client, *httptest.Server, webdav.FileSyst... function newServerAuthNoContent (line 152) | func newServerAuthNoContent(t *testing.T) (*Client, *httptest.Server, we... function newAuthServer (line 156) | func newAuthServer(t *testing.T, auth func(h http.Handler) http.HandlerF... function newAuthSrv (line 162) | func newAuthSrv(t *testing.T, auth func(h http.Handler) http.HandlerFunc... function newAuthServerAcquireContentLength (line 174) | func newAuthServerAcquireContentLength(t *testing.T) (*Client, *httptest... function newAuthSrvAcquireContentLength (line 180) | func newAuthSrvAcquireContentLength(t *testing.T, authWithPostHandlerFun... function TestConnect (line 206) | func TestConnect(t *testing.T) { function TestConnectAuthNoContent (line 219) | func TestConnectAuthNoContent(t *testing.T) { function TestConnectMultipleAuth (line 232) | func TestConnectMultipleAuth(t *testing.T) { function TestConnectMultiAuthII (line 250) | func TestConnectMultiAuthII(t *testing.T) { function TestReadDirConcurrent (line 280) | func TestReadDirConcurrent(t *testing.T) { function TestRead (line 317) | func TestRead(t *testing.T) { function TestReadNoAuth (line 335) | func TestReadNoAuth(t *testing.T) { function TestReadStream (line 353) | func TestReadStream(t *testing.T) { function TestReadStreamRange (line 373) | func TestReadStreamRange(t *testing.T) { function TestReadStreamRangeUnkownLength (line 393) | func TestReadStreamRangeUnkownLength(t *testing.T) { function TestStat (line 413) | func TestStat(t *testing.T) { function TestMkdir (line 434) | func TestMkdir(t *testing.T) { function TestMkdirAll (line 461) | func TestMkdirAll(t *testing.T) { function TestCopy (line 475) | func TestCopy(t *testing.T) { function TestRename (line 513) | func TestRename(t *testing.T) { function TestRemove (line 550) | func TestRemove(t *testing.T) { function TestRemoveAll (line 567) | func TestRemoveAll(t *testing.T) { function TestWrite (line 588) | func TestWrite(t *testing.T) { function TestWriteStream (line 609) | func TestWriteStream(t *testing.T) { function TestWriteStreamFromPipe (line 634) | func TestWriteStreamFromPipe(t *testing.T) { function TestWriteToServerAcquireContentLength (line 662) | func TestWriteToServerAcquireContentLength(t *testing.T) { function TestWriteStreamToServerAcquireContentLength (line 671) | func TestWriteStreamToServerAcquireContentLength(t *testing.T) { function TestWriteStreamWithLength (line 695) | func TestWriteStreamWithLength(t *testing.T) { function TestWriteStreamWithLengthFromPipe (line 721) | func TestWriteStreamWithLengthFromPipe(t *testing.T) { function TestWriteStreamWithLengthIncorrectContentLength (line 749) | func TestWriteStreamWithLengthIncorrectContentLength(t *testing.T) { FILE: cmd/gowebdav/main.go function main (line 19) | func main() { function fail (line 69) | func fail(err interface{}) { function getHome (line 76) | func getHome() string { function getCmd (line 94) | func getCmd(method string) func(c *d.Client, p0, p1 string) error { function cmdLs (line 130) | func cmdLs(c *d.Client, p0, _ string) (err error) { function cmdStat (line 141) | func cmdStat(c *d.Client, p0, _ string) (err error) { function cmdGet (line 149) | func cmdGet(c *d.Client, p0, p1 string) (err error) { function cmdRm (line 163) | func cmdRm(c *d.Client, p0, _ string) (err error) { function cmdMkdir (line 170) | func cmdMkdir(c *d.Client, p0, _ string) (err error) { function cmdMkdirAll (line 177) | func cmdMkdirAll(c *d.Client, p0, _ string) (err error) { function cmdMv (line 184) | func cmdMv(c *d.Client, p0, p1 string) (err error) { function cmdCp (line 191) | func cmdCp(c *d.Client, p0, p1 string) (err error) { function cmdPut (line 198) | func cmdPut(c *d.Client, p0, p1 string) (err error) { function writeFile (line 224) | func writeFile(path string, bytes []byte, mode os.FileMode) error { function getStream (line 242) | func getStream(pathOrString string) (io.ReadCloser, error) { FILE: digestAuth.go type DigestAuth (line 14) | type DigestAuth struct method Authorize (line 26) | func (d *DigestAuth) Authorize(c *http.Client, rq *http.Request, path ... method Verify (line 36) | func (d *DigestAuth) Verify(c *http.Client, rs *http.Response, path st... method Close (line 49) | func (d *DigestAuth) Close() error { method Clone (line 54) | func (d *DigestAuth) Clone() Authenticator { method String (line 63) | func (d *DigestAuth) String() string { function NewDigestAuth (line 21) | func NewDigestAuth(login, secret string, rs *http.Response) (Authenticat... function digestParts (line 67) | func digestParts(resp *http.Response) map[string]string { function getMD5 (line 86) | func getMD5(text string) string { function getCnonce (line 92) | func getCnonce() string { function getDigestAuthorization (line 98) | func getDigestAuthorization(digestParts map[string]string) string { function isStaled (line 171) | func isStaled(rs *http.Response) bool { FILE: digestAuth_test.go function TestNewDigestAuth (line 10) | func TestNewDigestAuth(t *testing.T) { function TestDigestAuthAuthorize (line 27) | func TestDigestAuthAuthorize(t *testing.T) { function TestDigestAuthVerify (line 38) | func TestDigestAuthVerify(t *testing.T) { FILE: errors.go type StatusError (line 18) | type StatusError struct method Error (line 22) | func (se StatusError) Error() string { function IsErrCode (line 29) | func IsErrCode(err error, code int) bool { function IsErrNotFound (line 39) | func IsErrNotFound(err error) bool { function NewPathError (line 43) | func NewPathError(op string, path string, statusCode int) error { function NewPathErrorErr (line 51) | func NewPathErrorErr(op string, path string, err error) error { FILE: file.go type File (line 10) | type File struct method Path (line 21) | func (f File) Path() string { method Name (line 26) | func (f File) Name() string { method ContentType (line 31) | func (f File) ContentType() string { method Size (line 36) | func (f File) Size() int64 { method Mode (line 41) | func (f File) Mode() os.FileMode { method ModTime (line 51) | func (f File) ModTime() time.Time { method ETag (line 56) | func (f File) ETag() string { method IsDir (line 61) | func (f File) IsDir() bool { method Sys (line 66) | func (f File) Sys() interface{} { method String (line 71) | func (f File) String() string { FILE: netrc.go function parseLine (line 12) | func parseLine(s string) (login, pass string) { function ReadConfig (line 27) | func ReadConfig(uri, netrc string) (string, string) { FILE: passportAuth.go type PassportAuth (line 12) | type PassportAuth struct method Authorize (line 32) | func (p *PassportAuth) Authorize(c *http.Client, rq *http.Request, pat... method Verify (line 46) | func (p *PassportAuth) Verify(c *http.Client, rs *http.Response, path ... method Close (line 64) | func (p *PassportAuth) Close() error { method Clone (line 69) | func (p *PassportAuth) Clone() Authenticator { method String (line 83) | func (p *PassportAuth) String() string { method genCookies (line 87) | func (p *PassportAuth) genCookies(c *http.Client, partnerUrl string, h... function NewPassportAuth (line 21) | func NewPassportAuth(c *http.Client, user, pw, partnerURL string, header... FILE: passportAuth_test.go function TestNewPassportAuth (line 12) | func TestNewPassportAuth(t *testing.T) { FILE: requests.go method req (line 11) | func (c *Client) req(method, path string, body io.Reader, intercept func... method mkcol (line 62) | func (c *Client) mkcol(path string) (status int, err error) { method options (line 77) | func (c *Client) options(path string) (*http.Response, error) { method propfind (line 83) | func (c *Client) propfind(path string, self bool, body string, resp inte... method doCopyMove (line 108) | func (c *Client) doCopyMove( method copymove (line 134) | func (c *Client) copymove(method string, oldpath string, newpath string,... method put (line 163) | func (c *Client) put(path string, stream io.Reader, contentLength int64)... method createParentCollection (line 176) | func (c *Client) createParentCollection(itemPath string) (err error) { FILE: utils.go function PathEscape (line 14) | func PathEscape(path string) string { function FixSlash (line 23) | func FixSlash(s string) string { function FixSlashes (line 31) | func FixSlashes(s string) string { function Join (line 40) | func Join(path0 string, path1 string) string { function String (line 45) | func String(r io.Reader) string { function parseUint (line 52) | func parseUint(s *string) uint { function parseInt64 (line 59) | func parseInt64(s *string) int64 { function parseModified (line 66) | func parseModified(s *string) time.Time { function parseXML (line 73) | func parseXML(data io.Reader, resp interface{}, parse func(resp interfac... type limitedReadCloser (line 91) | type limitedReadCloser struct method Read (line 96) | func (l *limitedReadCloser) Read(buf []byte) (int, error) { method Close (line 111) | func (l *limitedReadCloser) Close() error { FILE: utils_test.go function TestJoin (line 9) | func TestJoin(t *testing.T) { function eq (line 17) | func eq(t *testing.T, expected string, s0 string, s1 string) { function ExamplePathEscape (line 24) | func ExamplePathEscape() { function TestEscapeURL (line 39) | func TestEscapeURL(t *testing.T) { function TestFixSlashes (line 47) | func TestFixSlashes(t *testing.T) {