{"modulePath":"github.com/sourcegraph/apiproxy","version":"v0.0.0-20131001030531-ee6ce9aecff2","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package githubproxy\n\n## Types\n\n```go\ntype MaxAge struct {\n\tUser         time.Duration\n\tRepository   time.Duration\n\tRepositories time.Duration\n\tActivity     time.Duration\n}\n```\nMaxAge represents custom cache max-ages for GitHub API resources. It implements the apiproxy.Validator interface and is intended for use with RevalidationTransport. TODO(sqs): add fields for all GitHub API resources.\n\n```go\nfunc (a *MaxAge) Validator() apiproxy.Validator\n```\nValidator returns an apiproxy.Validator that implements the MaxAge cache aging logic.\n\n","path":"github.com/sourcegraph/apiproxy/service/github","name":"githubproxy","synopsis":"","isRedistributable":true}
