{"modulePath":"github.com/peterbourgon/ff","version":"v0.1.0","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package objectapi\n\n## Types\n\n```go\ntype Client struct {\n\t// contains filtered or unexported fields\n}\n```\nClient is meant to model an SDK client for a theoretical object store API. Because we're only using it for demo purposes, it embeds a mock server with fixed data.\n\n```go\nfunc NewClient(token string) (*Client, error)\n```\nNewClient is meant to model a constructor for the SDK client.\n\n```go\nfunc (c *Client) Create(ctx context.Context, key, value string, overwrite bool) error\n```\nCreate is some bit of functionality.\n\n```go\nfunc (c *Client) Delete(ctx context.Context, key string, force bool) (existed bool, err error)\n```\nDelete is some bit of functionality.\n\n```go\nfunc (c *Client) List(ctx context.Context) ([]Object, error)\n```\nList is some bit of functionality.\n\n```go\ntype Object struct {\n\tKey    string\n\tValue  string\n\tAccess time.Time\n}\n```\nObject is meant to be a domain object for a theoretical object store.\n\n","path":"github.com/peterbourgon/ff/ffcli/examples/objectctl/pkg/objectapi","name":"objectapi","synopsis":"","isRedistributable":true}
