| 774 | }) |
| 775 | |
| 776 | type fakeSessionStore struct { |
| 777 | SaveFunc func(http.ResponseWriter, *http.Request, *sessionsapi.SessionState) error |
| 778 | LoadFunc func(req *http.Request) (*sessionsapi.SessionState, error) |
| 779 | ClearFunc func(rw http.ResponseWriter, req *http.Request) error |
| 780 | } |
| 781 | |
| 782 | func (f *fakeSessionStore) Save(rw http.ResponseWriter, req *http.Request, s *sessionsapi.SessionState) error { |
| 783 | if f.SaveFunc != nil { |
nothing calls this directly
no outgoing calls
no test coverage detected