{"id":19273612,"url":"https://github.com/zikwall/fsclient","last_synced_at":"2025-07-01T11:08:22.893Z","repository":{"id":57593549,"uuid":"373830890","full_name":"zikwall/fsclient","owner":"zikwall","description":"Golang fileserver client | https://github.com/zikwall/go-fileserver","archived":false,"fork":false,"pushed_at":"2021-06-06T11:01:23.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-01T11:08:21.243Z","etag":null,"topics":["go","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zikwall.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-06-04T12:14:03.000Z","updated_at":"2021-06-06T11:01:25.000Z","dependencies_parsed_at":"2022-08-30T11:42:27.070Z","dependency_job_id":null,"html_url":"https://github.com/zikwall/fsclient","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/zikwall/fsclient","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zikwall%2Ffsclient","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zikwall%2Ffsclient/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zikwall%2Ffsclient/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zikwall%2Ffsclient/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zikwall","download_url":"https://codeload.github.com/zikwall/fsclient/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zikwall%2Ffsclient/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262950349,"owners_count":23389644,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["go","golang"],"created_at":"2024-11-09T20:43:38.293Z","updated_at":"2025-07-01T11:08:22.863Z","avatar_url":"https://github.com/zikwall.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Client for Go file server\n\n#### Install\n\n`$ go get -u github.com/zikwall/fsclient@v0.0.3`\n\n#### Install server\n\n- Visit: https://github.com/zikwall/go-fileserver\n\n### Usage\n\n#### Create client\n\n```go\nclient, err := fsclient.WithCopyFsClient(fsclient.FsClient{\n\t// fileserver host\n\tUri:        \"http://localhost:1337/\",\n\tSecureType: fsclient.TypeToken,\n\t// for token auth or JWT\n\tTokenType:  requesters.TokenTypeQuery,\n\tToken:      \"changemeplease123\",\n\t// for base auth\n\tUser:       \"qwx1337\",\n\tPassword:   \"123456\",\n})\n```\n\n#### Call API for send files\n\n```go\nif err := client.SendFile(context.Background(), file, fileAnother); err != nil {\n\tlog.Fatal(err)\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzikwall%2Ffsclient","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzikwall%2Ffsclient","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzikwall%2Ffsclient/lists"}