SYMBOL INDEX (37 symbols across 5 files) FILE: api.go type BasicAuth (line 25) | type BasicAuth struct type ApiStruct (line 32) | type ApiStruct struct function Api (line 42) | func Api(baseUrl string, options ...interface{}) *Resource { FILE: examples/example_basic_auth.go function main (line 7) | func main() { FILE: examples/example_oauth.go type respStruct (line 12) | type respStruct struct function landing (line 31) | func landing(w http.ResponseWriter, r *http.Request) { function handler (line 37) | func handler(w http.ResponseWriter, r *http.Request) { FILE: resource.go type Resource (line 31) | type Resource struct method Res (line 43) | func (r *Resource) Res(options ...interface{}) *Resource { method Id (line 68) | func (r *Resource) Id(options ...interface{}) *Resource { method SetQuery (line 95) | func (r *Resource) SetQuery(querystring map[string]string) *Resource { method Get (line 105) | func (r *Resource) Get(options ...interface{}) (*Resource, error) { method Head (line 119) | func (r *Resource) Head(options ...interface{}) (*Resource, error) { method Put (line 132) | func (r *Resource) Put(options ...interface{}) (*Resource, error) { method Post (line 141) | func (r *Resource) Post(options ...interface{}) (*Resource, error) { method Delete (line 150) | func (r *Resource) Delete(options ...interface{}) (*Resource, error) { method Options (line 163) | func (r *Resource) Options(options ...interface{}) (*Resource, error) { method Patch (line 176) | func (r *Resource) Patch(options ...interface{}) (*Resource, error) { method do (line 185) | func (r *Resource) do(method string) (*Resource, error) { method SetPayload (line 238) | func (r *Resource) SetPayload(args interface{}) io.Reader { method SetHeader (line 246) | func (r *Resource) SetHeader(key string, value string) { method SetClient (line 252) | func (r *Resource) SetClient(c *http.Client) { FILE: resource_test.go function init (line 19) | func init() { type respStruct (line 24) | type respStruct struct type httpbinResponse (line 30) | type httpbinResponse struct function TestResouceUrl (line 37) | func TestResouceUrl(t *testing.T) { function TestCanUsePathInResourceUrl (line 47) | func TestCanUsePathInResourceUrl(t *testing.T) { function TestCanUseAuthForApi (line 64) | func TestCanUseAuthForApi(t *testing.T) { function TestCanGetResource (line 72) | func TestCanGetResource(t *testing.T) { function TestCanCreateResource (line 109) | func TestCanCreateResource(t *testing.T) { function TestCanPutResource (line 126) | func TestCanPutResource(t *testing.T) { function TestCanDeleteResource (line 143) | func TestCanDeleteResource(t *testing.T) { function TestPathSuffix (line 157) | func TestPathSuffix(t *testing.T) { function TestPathSuffixWithQueryParam (line 171) | func TestPathSuffixWithQueryParam(t *testing.T) { function TestResourceId (line 186) | func TestResourceId(t *testing.T) { function TestDoNotDecodeBodyOnErr (line 196) | func TestDoNotDecodeBodyOnErr(t *testing.T) { function readJson (line 233) | func readJson(path string) string {