{"modulePath":"github.com/omalloc/tavern","version":"v1.0.0","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package example\n\n## Functions\n\n```go\nfunc NewExamplePlugin(opts configv1.Option, log *log.Helper) (configv1.Plugin, error)\n```\n\n## Types\n\n```go\ntype ExamplePlugin struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (e *ExamplePlugin) AddRouter(router *http.ServeMux)\n```\nAddRouter implements plugin.Plugin.\n\n```go\nfunc (e *ExamplePlugin) HandleFunc(next http.HandlerFunc) http.HandlerFunc\n```\nHandleFunc implements plugin.Plugin.\n\n```go\nfunc (e *ExamplePlugin) Start(context.Context) error\n```\nStart implements plugin.Plugin.\n\n```go\nfunc (e *ExamplePlugin) Stop(context.Context) error\n```\nStop implements plugin.Plugin.\n\n```go\ntype SimpleMetadata struct {\n\tID       string    `json:\"id\"`\n\tChunks   string    `json:\"chunks,omitempty\"`\n\tCode     int       `json:\"code\"`\n\tSize     uint64    `json:\"size\"`\n\tRespUnix time.Time `json:\"resp_unix\"`\n\tExpired  time.Time `json:\"expired\"`\n\tFlags    string    `json:\"flags\"`\n\tCacheRef int64     `json:\"cache_ref\"`\n\tVd       []string  `json:\"varykey,omitempty\"`\n}\n```\n\n","path":"github.com/omalloc/tavern/plugin/example","name":"example","synopsis":"","isRedistributable":true}
