SYMBOL INDEX (187 symbols across 13 files) FILE: _example/handler.go type createUserRequest (line 8) | type createUserRequest struct type attribute (line 14) | type attribute struct type createUserResponse (line 19) | type createUserResponse struct type userHandler (line 24) | type userHandler struct method ServeHTTP (line 30) | func (h *userHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { type userProtoHandler (line 27) | type userProtoHandler struct method ServeHTTP (line 63) | func (h *userProtoHandler) ServeHTTP(w http.ResponseWriter, r *http.Re... FILE: _example/handler_proto_test.go function TestUserHandlerWithProtobuf (line 11) | func TestUserHandlerWithProtobuf(t *testing.T) { FILE: _example/handler_simple_test.go function TestUserHandlerSimple (line 13) | func TestUserHandlerSimple(t *testing.T) { function testNewRequest (line 38) | func testNewRequest(t *testing.T, urlStr string) *http.Request { FILE: _example/handler_validate_test.go function TestUserHandlerWithValidate (line 11) | func TestUserHandlerWithValidate(t *testing.T) { FILE: _example/message.pb.go constant _ (line 32) | _ = proto.ProtoPackageIsVersion2 type UserProtoRequest (line 34) | type UserProtoRequest struct method Reset (line 39) | func (m *UserProtoRequest) Reset() { *m = UserProto... method String (line 40) | func (m *UserProtoRequest) String() string { return proto.C... method ProtoMessage (line 41) | func (*UserProtoRequest) ProtoMessage() {} method Descriptor (line 42) | func (*UserProtoRequest) Descriptor() ([]byte, []int) { return fileDes... method GetId (line 44) | func (m *UserProtoRequest) GetId() int32 { method GetName (line 51) | func (m *UserProtoRequest) GetName() string { method Marshal (line 121) | func (m *UserProtoRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 131) | func (m *UserProtoRequest) MarshalTo(dAtA []byte) (int, error) { method Size (line 250) | func (m *UserProtoRequest) Size() (n int) { method Unmarshal (line 306) | func (m *UserProtoRequest) Unmarshal(dAtA []byte) error { type UserProtoResponse (line 58) | type UserProtoResponse struct method Reset (line 65) | func (m *UserProtoResponse) Reset() { *m = UserProt... method String (line 66) | func (m *UserProtoResponse) String() string { return proto.... method ProtoMessage (line 67) | func (*UserProtoResponse) ProtoMessage() {} method Descriptor (line 68) | func (*UserProtoResponse) Descriptor() ([]byte, []int) { return fileDe... method GetId (line 70) | func (m *UserProtoResponse) GetId() int32 { method GetName (line 77) | func (m *UserProtoResponse) GetName() string { method GetActive (line 84) | func (m *UserProtoResponse) GetActive() bool { method GetSetting (line 91) | func (m *UserProtoResponse) GetSetting() *UserProtoResponse_Setting { method Marshal (line 150) | func (m *UserProtoResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 160) | func (m *UserProtoResponse) MarshalTo(dAtA []byte) (int, error) { method Size (line 263) | func (m *UserProtoResponse) Size() (n int) { method Unmarshal (line 404) | func (m *UserProtoResponse) Unmarshal(dAtA []byte) error { type UserProtoResponse_Setting (line 98) | type UserProtoResponse_Setting struct method Reset (line 102) | func (m *UserProtoResponse_Setting) Reset() { *m = UserProtoRe... method String (line 103) | func (m *UserProtoResponse_Setting) String() string { return proto.Com... method ProtoMessage (line 104) | func (*UserProtoResponse_Setting) ProtoMessage() {} method Descriptor (line 105) | func (*UserProtoResponse_Setting) Descriptor() ([]byte, []int) { method GetEmail (line 109) | func (m *UserProtoResponse_Setting) GetEmail() string { method Marshal (line 199) | func (m *UserProtoResponse_Setting) Marshal() (dAtA []byte, err error) { method MarshalTo (line 209) | func (m *UserProtoResponse_Setting) MarshalTo(dAtA []byte) (int, error) { method Size (line 283) | func (m *UserProtoResponse_Setting) Size() (n int) { method Unmarshal (line 555) | func (m *UserProtoResponse_Setting) Unmarshal(dAtA []byte) error { function init (line 116) | func init() { function encodeFixed64Message (line 223) | func encodeFixed64Message(dAtA []byte, offset int, v uint64) int { function encodeFixed32Message (line 234) | func encodeFixed32Message(dAtA []byte, offset int, v uint32) int { function encodeVarintMessage (line 241) | func encodeVarintMessage(dAtA []byte, offset int, v uint64) int { function sovMessage (line 293) | func sovMessage(x uint64) (n int) { function sozMessage (line 303) | func sozMessage(x uint64) (n int) { function skipMessage (line 634) | func skipMessage(dAtA []byte) (n int, err error) { function init (line 739) | func init() { proto.RegisterFile("message.proto", fileDescriptorMessage) } FILE: httpdoc.go constant EnvHTTPDoc (line 19) | EnvHTTPDoc = "HTTPDOC" type Document (line 23) | type Document struct type Entry (line 44) | type Entry struct method format (line 241) | func (e *Entry) format() error { type RecordOption (line 74) | type RecordOption struct type ProtoBufferOption (line 98) | type ProtoBufferOption struct type Data (line 110) | type Data struct type byName (line 121) | type byName method Len (line 123) | func (n byName) Len() int { return len(n) } method Less (line 124) | func (n byName) Less(i, j int) bool { return n[i].Name < n[j].Name } method Swap (line 125) | func (n byName) Swap(i, j int) { n[i], n[j] = n[j], n[i] } function Record (line 129) | func Record(next http.Handler, document *Document, opt *RecordOption) ht... type responseWriter (line 248) | type responseWriter struct method Write (line 255) | func (w *responseWriter) Write(buf []byte) (int, error) { method WriteHeader (line 260) | func (w *responseWriter) WriteHeader(code int) { function convertHeaders (line 266) | func convertHeaders(headers map[string][]string) []Data { function mergeData (line 280) | func mergeData(a, b []Data) []Data { function excludeData (line 298) | func excludeData(target []Data, excludes ...[]string) []Data { FILE: httpdoc_test.go function TestRecord (line 46) | func TestRecord(t *testing.T) { function TestRecord_Proto (line 178) | func TestRecord_Proto(t *testing.T) { function TestConvertHeaders (line 264) | func TestConvertHeaders(t *testing.T) { function TestMergeData (line 291) | func TestMergeData(t *testing.T) { function TestExcludeData (line 319) | func TestExcludeData(t *testing.T) { function TestResponseWriter_Write (line 340) | func TestResponseWriter_Write(t *testing.T) { function TestResponseWriter_WriteHeader (line 343) | func TestResponseWriter_WriteHeader(t *testing.T) { FILE: message_pb_test.go constant _ (line 32) | _ = proto.ProtoPackageIsVersion2 type UserProtoRequest (line 34) | type UserProtoRequest struct method Reset (line 39) | func (m *UserProtoRequest) Reset() { *m = UserProto... method String (line 40) | func (m *UserProtoRequest) String() string { return proto.C... method ProtoMessage (line 41) | func (*UserProtoRequest) ProtoMessage() {} method Descriptor (line 42) | func (*UserProtoRequest) Descriptor() ([]byte, []int) { return fileDes... method GetId (line 44) | func (m *UserProtoRequest) GetId() int32 { method GetName (line 51) | func (m *UserProtoRequest) GetName() string { method Marshal (line 121) | func (m *UserProtoRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 131) | func (m *UserProtoRequest) MarshalTo(dAtA []byte) (int, error) { method Size (line 250) | func (m *UserProtoRequest) Size() (n int) { method Unmarshal (line 306) | func (m *UserProtoRequest) Unmarshal(dAtA []byte) error { type UserProtoResponse (line 58) | type UserProtoResponse struct method Reset (line 65) | func (m *UserProtoResponse) Reset() { *m = UserProt... method String (line 66) | func (m *UserProtoResponse) String() string { return proto.... method ProtoMessage (line 67) | func (*UserProtoResponse) ProtoMessage() {} method Descriptor (line 68) | func (*UserProtoResponse) Descriptor() ([]byte, []int) { return fileDe... method GetId (line 70) | func (m *UserProtoResponse) GetId() int32 { method GetName (line 77) | func (m *UserProtoResponse) GetName() string { method GetActive (line 84) | func (m *UserProtoResponse) GetActive() bool { method GetSetting (line 91) | func (m *UserProtoResponse) GetSetting() *UserProtoResponse_Setting { method Marshal (line 150) | func (m *UserProtoResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 160) | func (m *UserProtoResponse) MarshalTo(dAtA []byte) (int, error) { method Size (line 263) | func (m *UserProtoResponse) Size() (n int) { method Unmarshal (line 404) | func (m *UserProtoResponse) Unmarshal(dAtA []byte) error { type UserProtoResponse_Setting (line 98) | type UserProtoResponse_Setting struct method Reset (line 102) | func (m *UserProtoResponse_Setting) Reset() { *m = UserProtoRe... method String (line 103) | func (m *UserProtoResponse_Setting) String() string { return proto.Com... method ProtoMessage (line 104) | func (*UserProtoResponse_Setting) ProtoMessage() {} method Descriptor (line 105) | func (*UserProtoResponse_Setting) Descriptor() ([]byte, []int) { method GetEmail (line 109) | func (m *UserProtoResponse_Setting) GetEmail() string { method Marshal (line 199) | func (m *UserProtoResponse_Setting) Marshal() (dAtA []byte, err error) { method MarshalTo (line 209) | func (m *UserProtoResponse_Setting) MarshalTo(dAtA []byte) (int, error) { method Size (line 283) | func (m *UserProtoResponse_Setting) Size() (n int) { method Unmarshal (line 555) | func (m *UserProtoResponse_Setting) Unmarshal(dAtA []byte) error { function init (line 116) | func init() { function encodeFixed64Message (line 223) | func encodeFixed64Message(dAtA []byte, offset int, v uint64) int { function encodeFixed32Message (line 234) | func encodeFixed32Message(dAtA []byte, offset int, v uint32) int { function encodeVarintMessage (line 241) | func encodeVarintMessage(dAtA []byte, offset int, v uint64) int { function sovMessage (line 293) | func sovMessage(x uint64) (n int) { function sozMessage (line 303) | func sozMessage(x uint64) (n int) { function skipMessage (line 634) | func skipMessage(dAtA []byte) (n int, err error) { function init (line 739) | func init() { proto.RegisterFile("message.proto", fileDescriptorMessage) } FILE: static/bindata.go function bindataRead (line 21) | func bindataRead(data []byte, name string) ([]byte, error) { type asset (line 41) | type asset struct type bindataFileInfo (line 46) | type bindataFileInfo struct method Name (line 53) | func (fi bindataFileInfo) Name() string { method Size (line 56) | func (fi bindataFileInfo) Size() int64 { method Mode (line 59) | func (fi bindataFileInfo) Mode() os.FileMode { method ModTime (line 62) | func (fi bindataFileInfo) ModTime() time.Time { method IsDir (line 65) | func (fi bindataFileInfo) IsDir() bool { method Sys (line 68) | func (fi bindataFileInfo) Sys() interface{} { function tmplApiBlueprintTmplBytes (line 74) | func tmplApiBlueprintTmplBytes() ([]byte, error) { function tmplApiBlueprintTmpl (line 81) | func tmplApiBlueprintTmpl() (*asset, error) { function tmplDocMdTmplBytes (line 94) | func tmplDocMdTmplBytes() ([]byte, error) { function tmplDocMdTmpl (line 101) | func tmplDocMdTmpl() (*asset, error) { function Asset (line 115) | func Asset(name string) ([]byte, error) { function MustAsset (line 129) | func MustAsset(name string) []byte { function AssetInfo (line 141) | func AssetInfo(name string) (os.FileInfo, error) { function AssetNames (line 154) | func AssetNames() []string { function AssetDir (line 181) | func AssetDir(name string) ([]string, error) { type bintree (line 203) | type bintree struct function RestoreAsset (line 215) | func RestoreAsset(dir, name string) error { function RestoreAssets (line 240) | func RestoreAssets(dir, name string) error { function _filePath (line 256) | func _filePath(dir, name string) string { FILE: template.go method Generate (line 18) | func (d *Document) Generate(path string) error { method generate (line 39) | func (d *Document) generate(w io.Writer) error { method tmplExecute (line 52) | func (d *Document) tmplExecute(w io.Writer, text string) error { function funcMap (line 64) | func funcMap() template.FuncMap { FILE: template_test.go function setEnv (line 9) | func setEnv(t *testing.T, k, v string) func() { function TestDocument_Generate (line 22) | func TestDocument_Generate(t *testing.T) { function TestDocument_Generate_noEnv (line 46) | func TestDocument_Generate_noEnv(t *testing.T) { function TestFuncMap (line 70) | func TestFuncMap(t *testing.T) { function TestTemplateGenerate_NotExistDir (line 83) | func TestTemplateGenerate_NotExistDir(t *testing.T) { function TestTemplateGenerate_InvalidTmpl (line 94) | func TestTemplateGenerate_InvalidTmpl(t *testing.T) { function TestTmplExecute_InvalidTemplate (line 103) | func TestTmplExecute_InvalidTemplate(t *testing.T) { FILE: validate.go type assertFunc (line 40) | type assertFunc type fatalFunc (line 41) | type fatalFunc type unmarshalFunc (line 42) | type unmarshalFunc type Validator (line 47) | type Validator struct method ResponseStatusCode (line 103) | func (v *Validator) ResponseStatusCode(t *testing.T, expected int) { method RequestParams (line 108) | func (v *Validator) RequestParams(t *testing.T, cases []TestCase) { method RequestHeaders (line 121) | func (v *Validator) RequestHeaders(t *testing.T, cases []TestCase) { method ResponseHeaders (line 145) | func (v *Validator) ResponseHeaders(t *testing.T, cases []TestCase) { method RequestBody (line 180) | func (v *Validator) RequestBody(t *testing.T, cases []TestCase, reques... method ResponseBody (line 202) | func (v *Validator) ResponseBody(t *testing.T, cases []TestCase, respo... method validateFields (line 210) | func (vl *Validator) validateFields(t *testing.T, cases []TestCase, v ... type record (line 61) | type record struct type TestCase (line 82) | type TestCase struct function NewTestCase (line 90) | func NewTestCase(target string, expected interface{}, description string... function newValidator (line 94) | func newValidator() *Validator { function pickAssertFunc (line 223) | func pickAssertFunc(tc *TestCase, v *Validator) assertFunc { FILE: validate_test.go type User (line 17) | type User struct type Setting (line 26) | type Setting struct type SNS (line 31) | type SNS struct function testAssertWithCount (line 37) | func testAssertWithCount(fails *int) assertFunc { function fprintFatalFunc (line 45) | func fprintFatalFunc(w io.Writer) fatalFunc { function TestValidator_ResponseStatusCode (line 51) | func TestValidator_ResponseStatusCode(t *testing.T) { function TestValidator_RequestParams (line 69) | func TestValidator_RequestParams(t *testing.T) { function TestValidator_RequestHeaders (line 104) | func TestValidator_RequestHeaders(t *testing.T) { function TestValidator_ResponseHeaders (line 139) | func TestValidator_ResponseHeaders(t *testing.T) { function TestValidator_RequestBody (line 195) | func TestValidator_RequestBody(t *testing.T) { function TestValidator_ResponseBody (line 229) | func TestValidator_ResponseBody(t *testing.T) { function TestValidateFields (line 284) | func TestValidateFields(t *testing.T) { function TestValidator_RequestBody_Proto (line 325) | func TestValidator_RequestBody_Proto(t *testing.T) { function TestValidator_ResponseBody_Proto (line 364) | func TestValidator_ResponseBody_Proto(t *testing.T) { function TestUnmarshallerFunc (line 395) | func TestUnmarshallerFunc(t *testing.T) { function TestAssertFunc (line 402) | func TestAssertFunc(t *testing.T) {