(feed Feed)
| 49 | } |
| 50 | |
| 51 | func (a authenticator) feedID(feed Feed) string { |
| 52 | if feed == nil { |
| 53 | return "*" |
| 54 | } |
| 55 | return fmt.Sprintf("%s%s", feed.Slug(), feed.UserID()) |
| 56 | } |
| 57 | |
| 58 | func (a authenticator) feedAuth(resource resource, feed Feed) authFunc { |
| 59 | return func(req *http.Request) error { |
no test coverage detected