[go-nuts] Re: How to pass http.ResponseWriter while writing test case in Go

2019-04-02 Thread bradleyjames
> > > The documentation/examples of the net/http/httptest package might > help, in particular, the ResponseRecorder. > > https://golang.org/pkg/net/http/httptest/#ResponseRecorder > > Tacking on, here's an example: https://golang.org/pkg/net/http/httptest/#example_ResponseRecorder. The http

[go-nuts] Re: SPIFFE certificate verification (SVID) failure

2019-04-02 Thread bradleyjames
Have you reached out to the SPIFFE and SPIRE folks? https://github.com/spiffe/spiffe https://github.com/spiffe/spire SPIRE, a reference implementation, is written in go. They may be familiar with the issue. On Monday, April 1, 2019 at 11:51:20 AM UTC-5, Dheeraj Gedam wrote: > > Hi, > > I am wr