{"modulePath":"github.com/quicky-dev/api","version":"v0.0.0-20200111031347-5f2baddc0341","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package filestore\n\nPackage filestore will be used to store bash commands as txt\n\n## Types\n\n```go\ntype S3Handler struct {\n\tSession *session.Session\n\tBucket  string\n}\n```\nS3Handler handles S3 sessions\n\n```go\nfunc GetHandler() (S3Handler, error)\n```\nGetHandler connects user to S3 session and creates Handler\n\n```go\nfunc (h S3Handler) ReadFile(os string, uuid string) (string, error)\n```\nReadFile takes S3 session and with key Reads file\n\n```go\nfunc (h S3Handler) UploadFile(os string, uuid string, body string) error\n```\nUploadFile takes S3 session and key/value for file and stores in Bucket\n\n","path":"github.com/quicky-dev/api/fileStore","name":"filestore","synopsis":"Package filestore will be used to store bash commands as txt","isRedistributable":true}
