Documentation ¶
Index ¶
- Variables
- func EnabledGoEnumAlias(file *google_protobuf.FileDescriptorProto, ...) bool
- func EnabledGoEnumEqual(file *google_protobuf.FileDescriptorProto, ...) bool
- func EnabledGoEnumError(file *google_protobuf.FileDescriptorProto, ...) bool
- func EnabledGoEnumPrefix(file *google_protobuf.FileDescriptorProto, ...) bool
- func EnabledGoStringer(file *google_protobuf.FileDescriptorProto, ...) bool
- func GetCastKey(field *google_protobuf.FieldDescriptorProto) string
- func GetCastType(field *google_protobuf.FieldDescriptorProto) string
- func GetCastValue(field *google_protobuf.FieldDescriptorProto) string
- func GetCustomName(field *google_protobuf.FieldDescriptorProto) string
- func GetCustomType(field *google_protobuf.FieldDescriptorProto) string
- func GetEnumAliasCustomName(field *google_protobuf.EnumValueDescriptorProto) string
- func GetEnumCustomName(field *google_protobuf.EnumDescriptorProto) string
- func GetEnumValueCustomName(field *google_protobuf.EnumValueDescriptorProto) string
- func GetJsonTag(field *google_protobuf.FieldDescriptorProto) *string
- func GetKeyReflect(message *google_protobuf.DescriptorProto) *string
- func GetMoreTags(field *google_protobuf.FieldDescriptorProto) *string
- func HasBenchGen(file *google_protobuf.FileDescriptorProto, ...) bool
- func HasCompare(file *google_protobuf.FileDescriptorProto, ...) bool
- func HasDescription(file *google_protobuf.FileDescriptorProto, ...) bool
- func HasEnumDecl(file *google_protobuf.FileDescriptorProto, ...) bool
- func HasEqual(file *google_protobuf.FileDescriptorProto, ...) bool
- func HasExtensionsMap(file *google_protobuf.FileDescriptorProto, ...) bool
- func HasFormALl(file *google_protobuf.FileDescriptorProto) bool
- func HasGoGetters(file *google_protobuf.FileDescriptorProto, ...) bool
- func HasGoIsNil(file *google_protobuf.FileDescriptorProto, ...) bool
- func HasGoSetters(file *google_protobuf.FileDescriptorProto, ...) bool
- func HasGoString(file *google_protobuf.FileDescriptorProto, ...) bool
- func HasJsonUnAll(file *google_protobuf.FileDescriptorProto) bool
- func HasMakeStruct(file *google_protobuf.FileDescriptorProto) bool
- func HasMessageName(file *google_protobuf.FileDescriptorProto, ...) bool
- func HasPopulate(file *google_protobuf.FileDescriptorProto, ...) bool
- func HasSizecache(file *google_protobuf.FileDescriptorProto, ...) bool
- func HasTestGen(file *google_protobuf.FileDescriptorProto, ...) bool
- func HasTypeDecl(file *google_protobuf.FileDescriptorProto, ...) bool
- func HasUnkeyed(file *google_protobuf.FileDescriptorProto, ...) bool
- func HasUnrecognized(file *google_protobuf.FileDescriptorProto, ...) bool
- func HasVerboseEqual(file *google_protobuf.FileDescriptorProto, ...) bool
- func ImportsGoGoProto(file *google_protobuf.FileDescriptorProto) bool
- func IsCastKey(field *google_protobuf.FieldDescriptorProto) bool
- func IsCastType(field *google_protobuf.FieldDescriptorProto) bool
- func IsCastValue(field *google_protobuf.FieldDescriptorProto) bool
- func IsCustomName(field *google_protobuf.FieldDescriptorProto) bool
- func IsCustomType(field *google_protobuf.FieldDescriptorProto) bool
- func IsEmbed(field *google_protobuf.FieldDescriptorProto) bool
- func IsEnumAliasCustomName(field *google_protobuf.EnumValueDescriptorProto) bool
- func IsEnumCustomName(field *google_protobuf.EnumDescriptorProto) bool
- func IsEnumStringer(file *google_protobuf.FileDescriptorProto, ...) bool
- func IsEnumValueCustomName(field *google_protobuf.EnumValueDescriptorProto) bool
- func IsFace(file *google_protobuf.FileDescriptorProto, ...) bool
- func IsGoEnumStringer(file *google_protobuf.FileDescriptorProto, ...) bool
- func IsMarshaler(file *google_protobuf.FileDescriptorProto, ...) bool
- func IsNullable(field *google_protobuf.FieldDescriptorProto) bool
- func IsProto3(file *google_protobuf.FileDescriptorProto) bool
- func IsProtoSizer(file *google_protobuf.FileDescriptorProto, ...) bool
- func IsSizer(file *google_protobuf.FileDescriptorProto, ...) bool
- func IsStableMarshaler(file *google_protobuf.FileDescriptorProto, ...) bool
- func IsStdBool(field *google_protobuf.FieldDescriptorProto) bool
- func IsStdBytes(field *google_protobuf.FieldDescriptorProto) bool
- func IsStdDouble(field *google_protobuf.FieldDescriptorProto) bool
- func IsStdDuration(field *google_protobuf.FieldDescriptorProto) bool
- func IsStdFloat(field *google_protobuf.FieldDescriptorProto) bool
- func IsStdInt32(field *google_protobuf.FieldDescriptorProto) bool
- func IsStdInt64(field *google_protobuf.FieldDescriptorProto) bool
- func IsStdString(field *google_protobuf.FieldDescriptorProto) bool
- func IsStdTime(field *google_protobuf.FieldDescriptorProto) bool
- func IsStdType(field *google_protobuf.FieldDescriptorProto) bool
- func IsStdUInt32(field *google_protobuf.FieldDescriptorProto) bool
- func IsStdUInt64(field *google_protobuf.FieldDescriptorProto) bool
- func IsStringer(file *google_protobuf.FileDescriptorProto, ...) bool
- func IsUnion(file *google_protobuf.FileDescriptorProto, ...) bool
- func IsUnmarshaler(file *google_protobuf.FileDescriptorProto, ...) bool
- func IsUnsafeMarshaler(file *google_protobuf.FileDescriptorProto, ...) bool
- func IsUnsafeUnmarshaler(file *google_protobuf.FileDescriptorProto, ...) bool
- func IsWktPtr(field *google_protobuf.FieldDescriptorProto) bool
- func NeedsNilCheck(proto3 bool, field *google_protobuf.FieldDescriptorProto) bool
- func RegistersGolangProto(file *google_protobuf.FileDescriptorProto) bool
- type EnableFunc
- type Router
- func (*Router) Descriptor() ([]byte, []int)
- func (m *Router) GetAfter() []string
- func (m *Router) GetMethod() string
- func (m *Router) GetPlugins() []string
- func (m *Router) GetRouterPath() string
- func (m *Router) GetServer() string
- func (m *Router) IsNil() bool
- func (*Router) ProtoMessage()
- func (m *Router) Reset()
- func (m *Router) SetAfter_(val []string)
- func (m *Router) SetMethod_(val string)
- func (m *Router) SetPlugins_(val []string)
- func (m *Router) SetRouterPath_(val string)
- func (m *Router) SetServer_(val string)
- func (m *Router) String() string
- func (m *Router) XXX_DiscardUnknown()
- func (m *Router) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Router) XXX_Merge(src proto.Message)
- func (m *Router) XXX_Size() int
- func (m *Router) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var E_Benchgen = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*bool)(nil), Field: 64016, Name: "gogoproto.benchgen", Tag: "varint,64016,opt,name=benchgen", Filename: "gogo.proto", }
View Source
var E_BenchgenAll = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FileOptions)(nil), ExtensionType: (*bool)(nil), Field: 63016, Name: "gogoproto.benchgen_all", Tag: "varint,63016,opt,name=benchgen_all", Filename: "gogo.proto", }
View Source
var E_Castkey = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FieldOptions)(nil), ExtensionType: (*string)(nil), Field: 65008, Name: "gogoproto.castkey", Tag: "bytes,65008,opt,name=castkey", Filename: "gogo.proto", }
View Source
var E_Casttype = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FieldOptions)(nil), ExtensionType: (*string)(nil), Field: 65007, Name: "gogoproto.casttype", Tag: "bytes,65007,opt,name=casttype", Filename: "gogo.proto", }
View Source
var E_Castvalue = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FieldOptions)(nil), ExtensionType: (*string)(nil), Field: 65009, Name: "gogoproto.castvalue", Tag: "bytes,65009,opt,name=castvalue", Filename: "gogo.proto", }
View Source
var E_Compare = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*bool)(nil), Field: 64029, Name: "gogoproto.compare", Tag: "varint,64029,opt,name=compare", Filename: "gogo.proto", }
View Source
var E_CompareAll = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FileOptions)(nil), ExtensionType: (*bool)(nil), Field: 63029, Name: "gogoproto.compare_all", Tag: "varint,63029,opt,name=compare_all", Filename: "gogo.proto", }
View Source
var E_CompatibleGoOut = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FileOptions)(nil), ExtensionType: (*bool)(nil), Field: 63038, Name: "gogoproto.compatible_go_out", Tag: "varint,63038,opt,name=compatible_go_out", Filename: "gogo.proto", }
View Source
var E_Customname = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FieldOptions)(nil), ExtensionType: (*string)(nil), Field: 65004, Name: "gogoproto.customname", Tag: "bytes,65004,opt,name=customname", Filename: "gogo.proto", }
View Source
var E_Customtype = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FieldOptions)(nil), ExtensionType: (*string)(nil), Field: 65003, Name: "gogoproto.customtype", Tag: "bytes,65003,opt,name=customtype", Filename: "gogo.proto", }
View Source
var E_Description = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*bool)(nil), Field: 64014, Name: "gogoproto.description", Tag: "varint,64014,opt,name=description", Filename: "gogo.proto", }
View Source
var E_DescriptionAll = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FileOptions)(nil), ExtensionType: (*bool)(nil), Field: 63014, Name: "gogoproto.description_all", Tag: "varint,63014,opt,name=description_all", Filename: "gogo.proto", }
View Source
var E_Embed = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FieldOptions)(nil), ExtensionType: (*bool)(nil), Field: 65002, Name: "gogoproto.embed", Tag: "varint,65002,opt,name=embed", Filename: "gogo.proto", }
View Source
var E_EnumAlias = &proto.ExtensionDesc{ ExtendedType: (*descriptor.EnumOptions)(nil), ExtensionType: (*bool)(nil), Field: 62025, Name: "gogoproto.enum_alias", Tag: "varint,62025,opt,name=enum_alias", Filename: "gogo.proto", }
View Source
var E_EnumCustomname = &proto.ExtensionDesc{ ExtendedType: (*descriptor.EnumOptions)(nil), ExtensionType: (*string)(nil), Field: 62023, Name: "gogoproto.enum_customname", Tag: "bytes,62023,opt,name=enum_customname", Filename: "gogo.proto", }
View Source
var E_EnumEqual = &proto.ExtensionDesc{ ExtendedType: (*descriptor.EnumOptions)(nil), ExtensionType: (*bool)(nil), Field: 62026, Name: "gogoproto.enum_equal", Tag: "varint,62026,opt,name=enum_equal", Filename: "gogo.proto", }
View Source
var E_EnumError = &proto.ExtensionDesc{ ExtendedType: (*descriptor.EnumOptions)(nil), ExtensionType: (*bool)(nil), Field: 62027, Name: "gogoproto.enum_error", Tag: "varint,62027,opt,name=enum_error", Filename: "gogo.proto", }
View Source
var E_EnumStringer = &proto.ExtensionDesc{ ExtendedType: (*descriptor.EnumOptions)(nil), ExtensionType: (*bool)(nil), Field: 62022, Name: "gogoproto.enum_stringer", Tag: "varint,62022,opt,name=enum_stringer", Filename: "gogo.proto", }
View Source
var E_EnumStringerAll = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FileOptions)(nil), ExtensionType: (*bool)(nil), Field: 63022, Name: "gogoproto.enum_stringer_all", Tag: "varint,63022,opt,name=enum_stringer_all", Filename: "gogo.proto", }
View Source
var E_EnumaliasCustomname = &proto.ExtensionDesc{ ExtendedType: (*descriptor.EnumValueOptions)(nil), ExtensionType: (*string)(nil), Field: 66002, Name: "gogoproto.enumalias_customname", Tag: "bytes,66002,opt,name=enumalias_customname", Filename: "gogo.proto", }
View Source
var E_Enumdecl = &proto.ExtensionDesc{ ExtendedType: (*descriptor.EnumOptions)(nil), ExtensionType: (*bool)(nil), Field: 62024, Name: "gogoproto.enumdecl", Tag: "varint,62024,opt,name=enumdecl", Filename: "gogo.proto", }
View Source
var E_EnumdeclAll = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FileOptions)(nil), ExtensionType: (*bool)(nil), Field: 63031, Name: "gogoproto.enumdecl_all", Tag: "varint,63031,opt,name=enumdecl_all", Filename: "gogo.proto", }
View Source
var E_EnumvalueCustomname = &proto.ExtensionDesc{ ExtendedType: (*descriptor.EnumValueOptions)(nil), ExtensionType: (*string)(nil), Field: 66001, Name: "gogoproto.enumvalue_customname", Tag: "bytes,66001,opt,name=enumvalue_customname", Filename: "gogo.proto", }
View Source
var E_Equal = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*bool)(nil), Field: 64013, Name: "gogoproto.equal", Tag: "varint,64013,opt,name=equal", Filename: "gogo.proto", }
View Source
var E_EqualAll = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FileOptions)(nil), ExtensionType: (*bool)(nil), Field: 63013, Name: "gogoproto.equal_all", Tag: "varint,63013,opt,name=equal_all", Filename: "gogo.proto", }
View Source
var E_Face = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*bool)(nil), Field: 64005, Name: "gogoproto.face", Tag: "varint,64005,opt,name=face", Filename: "gogo.proto", }
View Source
var E_FaceAll = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FileOptions)(nil), ExtensionType: (*bool)(nil), Field: 63005, Name: "gogoproto.face_all", Tag: "varint,63005,opt,name=face_all", Filename: "gogo.proto", }
View Source
var E_FormAll = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FileOptions)(nil), ExtensionType: (*bool)(nil), Field: 63037, Name: "gogoproto.form_all", Tag: "varint,63037,opt,name=form_all", Filename: "gogo.proto", }
View Source
var E_GogoprotoImport = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FileOptions)(nil), ExtensionType: (*bool)(nil), Field: 63027, Name: "gogoproto.gogoproto_import", Tag: "varint,63027,opt,name=gogoproto_import", Filename: "gogo.proto", }
View Source
var E_GoprotoEnumPrefix = &proto.ExtensionDesc{ ExtendedType: (*descriptor.EnumOptions)(nil), ExtensionType: (*bool)(nil), Field: 62001, Name: "gogoproto.goproto_enum_prefix", Tag: "varint,62001,opt,name=goproto_enum_prefix", Filename: "gogo.proto", }
View Source
var E_GoprotoEnumPrefixAll = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FileOptions)(nil), ExtensionType: (*bool)(nil), Field: 63002, Name: "gogoproto.goproto_enum_prefix_all", Tag: "varint,63002,opt,name=goproto_enum_prefix_all", Filename: "gogo.proto", }
View Source
var E_GoprotoEnumStringer = &proto.ExtensionDesc{ ExtendedType: (*descriptor.EnumOptions)(nil), ExtensionType: (*bool)(nil), Field: 62021, Name: "gogoproto.goproto_enum_stringer", Tag: "varint,62021,opt,name=goproto_enum_stringer", Filename: "gogo.proto", }
View Source
var E_GoprotoEnumStringerAll = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FileOptions)(nil), ExtensionType: (*bool)(nil), Field: 63021, Name: "gogoproto.goproto_enum_stringer_all", Tag: "varint,63021,opt,name=goproto_enum_stringer_all", Filename: "gogo.proto", }
View Source
var E_GoprotoExtensionsMap = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*bool)(nil), Field: 64025, Name: "gogoproto.goproto_extensions_map", Tag: "varint,64025,opt,name=goproto_extensions_map", Filename: "gogo.proto", }
View Source
var E_GoprotoExtensionsMapAll = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FileOptions)(nil), ExtensionType: (*bool)(nil), Field: 63025, Name: "gogoproto.goproto_extensions_map_all", Tag: "varint,63025,opt,name=goproto_extensions_map_all", Filename: "gogo.proto", }
View Source
var E_GoprotoGetters = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*bool)(nil), Field: 64001, Name: "gogoproto.goproto_getters", Tag: "varint,64001,opt,name=goproto_getters", Filename: "gogo.proto", }
View Source
var E_GoprotoGettersAll = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FileOptions)(nil), ExtensionType: (*bool)(nil), Field: 63001, Name: "gogoproto.goproto_getters_all", Tag: "varint,63001,opt,name=goproto_getters_all", Filename: "gogo.proto", }
View Source
var E_GoprotoIsNil = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*bool)(nil), Field: 64011, Name: "gogoproto.goproto_is_nil", Tag: "varint,64011,opt,name=goproto_is_nil", Filename: "gogo.proto", }
View Source
var E_GoprotoIsNilAll = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FileOptions)(nil), ExtensionType: (*bool)(nil), Field: 63011, Name: "gogoproto.goproto_is_nil_all", Tag: "varint,63011,opt,name=goproto_is_nil_all", Filename: "gogo.proto", }
View Source
var E_GoprotoRegistration = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FileOptions)(nil), ExtensionType: (*bool)(nil), Field: 63032, Name: "gogoproto.goproto_registration", Tag: "varint,63032,opt,name=goproto_registration", Filename: "gogo.proto", }
View Source
var E_GoprotoSetters = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*bool)(nil), Field: 64010, Name: "gogoproto.goproto_setters", Tag: "varint,64010,opt,name=goproto_setters", Filename: "gogo.proto", }
View Source
var E_GoprotoSettersAll = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FileOptions)(nil), ExtensionType: (*bool)(nil), Field: 63010, Name: "gogoproto.goproto_setters_all", Tag: "varint,63010,opt,name=goproto_setters_all", Filename: "gogo.proto", }
View Source
var E_GoprotoSizecache = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*bool)(nil), Field: 64034, Name: "gogoproto.goproto_sizecache", Tag: "varint,64034,opt,name=goproto_sizecache", Filename: "gogo.proto", }
View Source
var E_GoprotoSizecacheAll = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FileOptions)(nil), ExtensionType: (*bool)(nil), Field: 63034, Name: "gogoproto.goproto_sizecache_all", Tag: "varint,63034,opt,name=goproto_sizecache_all", Filename: "gogo.proto", }
View Source
var E_GoprotoStringer = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*bool)(nil), Field: 64003, Name: "gogoproto.goproto_stringer", Tag: "varint,64003,opt,name=goproto_stringer", Filename: "gogo.proto", }
View Source
var E_GoprotoStringerAll = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FileOptions)(nil), ExtensionType: (*bool)(nil), Field: 63003, Name: "gogoproto.goproto_stringer_all", Tag: "varint,63003,opt,name=goproto_stringer_all", Filename: "gogo.proto", }
View Source
var E_GoprotoUnkeyed = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*bool)(nil), Field: 64035, Name: "gogoproto.goproto_unkeyed", Tag: "varint,64035,opt,name=goproto_unkeyed", Filename: "gogo.proto", }
View Source
var E_GoprotoUnkeyedAll = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FileOptions)(nil), ExtensionType: (*bool)(nil), Field: 63035, Name: "gogoproto.goproto_unkeyed_all", Tag: "varint,63035,opt,name=goproto_unkeyed_all", Filename: "gogo.proto", }
View Source
var E_GoprotoUnrecognized = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*bool)(nil), Field: 64026, Name: "gogoproto.goproto_unrecognized", Tag: "varint,64026,opt,name=goproto_unrecognized", Filename: "gogo.proto", }
View Source
var E_GoprotoUnrecognizedAll = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FileOptions)(nil), ExtensionType: (*bool)(nil), Field: 63026, Name: "gogoproto.goproto_unrecognized_all", Tag: "varint,63026,opt,name=goproto_unrecognized_all", Filename: "gogo.proto", }
View Source
var E_Gostring = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*bool)(nil), Field: 64006, Name: "gogoproto.gostring", Tag: "varint,64006,opt,name=gostring", Filename: "gogo.proto", }
View Source
var E_GostringAll = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FileOptions)(nil), ExtensionType: (*bool)(nil), Field: 63006, Name: "gogoproto.gostring_all", Tag: "varint,63006,opt,name=gostring_all", Filename: "gogo.proto", }
View Source
var E_JsonUnAll = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FileOptions)(nil), ExtensionType: (*bool)(nil), Field: 63036, Name: "gogoproto.json_un_all", Tag: "varint,63036,opt,name=json_un_all", Filename: "gogo.proto", }
View Source
var E_Jsontag = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FieldOptions)(nil), ExtensionType: (*string)(nil), Field: 65005, Name: "gogoproto.jsontag", Tag: "bytes,65005,opt,name=jsontag", Filename: "gogo.proto", }
View Source
var E_KeyReflect = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*string)(nil), Field: 64036, Name: "gogoproto.key_reflect", Tag: "bytes,64036,opt,name=key_reflect", Filename: "gogo.proto", }
View Source
var E_Marshaler = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*bool)(nil), Field: 64017, Name: "gogoproto.marshaler", Tag: "varint,64017,opt,name=marshaler", Filename: "gogo.proto", }
View Source
var E_MarshalerAll = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FileOptions)(nil), ExtensionType: (*bool)(nil), Field: 63017, Name: "gogoproto.marshaler_all", Tag: "varint,63017,opt,name=marshaler_all", Filename: "gogo.proto", }
View Source
var E_Messagename = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*bool)(nil), Field: 64033, Name: "gogoproto.messagename", Tag: "varint,64033,opt,name=messagename", Filename: "gogo.proto", }
View Source
var E_MessagenameAll = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FileOptions)(nil), ExtensionType: (*bool)(nil), Field: 63033, Name: "gogoproto.messagename_all", Tag: "varint,63033,opt,name=messagename_all", Filename: "gogo.proto", }
View Source
descriptor.FieldOptions)(nil), ExtensionType: (*string)(nil), Field: 65006, Name: "gogoproto.moretags", Tag: "bytes,65006,opt,name=moretags", Filename: "gogo.proto", }ExtendedType: (*
View Source
var E_Nullable = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FieldOptions)(nil), ExtensionType: (*bool)(nil), Field: 65001, Name: "gogoproto.nullable", Tag: "varint,65001,opt,name=nullable", Filename: "gogo.proto", }
View Source
var E_Onlyone = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*bool)(nil), Field: 64009, Name: "gogoproto.onlyone", Tag: "varint,64009,opt,name=onlyone", Filename: "gogo.proto", }
View Source
var E_OnlyoneAll = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FileOptions)(nil), ExtensionType: (*bool)(nil), Field: 63009, Name: "gogoproto.onlyone_all", Tag: "varint,63009,opt,name=onlyone_all", Filename: "gogo.proto", }
View Source
var E_Populate = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*bool)(nil), Field: 64007, Name: "gogoproto.populate", Tag: "varint,64007,opt,name=populate", Filename: "gogo.proto", }
View Source
var E_PopulateAll = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FileOptions)(nil), ExtensionType: (*bool)(nil), Field: 63007, Name: "gogoproto.populate_all", Tag: "varint,63007,opt,name=populate_all", Filename: "gogo.proto", }
View Source
var E_Protosizer = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*bool)(nil), Field: 64028, Name: "gogoproto.protosizer", Tag: "varint,64028,opt,name=protosizer", Filename: "gogo.proto", }
View Source
var E_ProtosizerAll = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FileOptions)(nil), ExtensionType: (*bool)(nil), Field: 63028, Name: "gogoproto.protosizer_all", Tag: "varint,63028,opt,name=protosizer_all", Filename: "gogo.proto", }
View Source
var E_RouterPath = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MethodOptions)(nil), ExtensionType: (*Router)(nil), Field: 66001, Name: "gogoproto.router_path", Tag: "bytes,66001,opt,name=router_path", Filename: "gogo.proto", }
View Source
var E_Sizer = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*bool)(nil), Field: 64020, Name: "gogoproto.sizer", Tag: "varint,64020,opt,name=sizer", Filename: "gogo.proto", }
View Source
var E_SizerAll = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FileOptions)(nil), ExtensionType: (*bool)(nil), Field: 63020, Name: "gogoproto.sizer_all", Tag: "varint,63020,opt,name=sizer_all", Filename: "gogo.proto", }
View Source
var E_StableMarshaler = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*bool)(nil), Field: 64019, Name: "gogoproto.stable_marshaler", Tag: "varint,64019,opt,name=stable_marshaler", Filename: "gogo.proto", }
View Source
var E_StableMarshalerAll = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FileOptions)(nil), ExtensionType: (*bool)(nil), Field: 63019, Name: "gogoproto.stable_marshaler_all", Tag: "varint,63019,opt,name=stable_marshaler_all", Filename: "gogo.proto", }
View Source
var E_Stdduration = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FieldOptions)(nil), ExtensionType: (*bool)(nil), Field: 65011, Name: "gogoproto.stdduration", Tag: "varint,65011,opt,name=stdduration", Filename: "gogo.proto", }
View Source
var E_Stdtime = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FieldOptions)(nil), ExtensionType: (*bool)(nil), Field: 65010, Name: "gogoproto.stdtime", Tag: "varint,65010,opt,name=stdtime", Filename: "gogo.proto", }
View Source
var E_Stringer = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*bool)(nil), Field: 67008, Name: "gogoproto.stringer", Tag: "varint,67008,opt,name=stringer", Filename: "gogo.proto", }
View Source
var E_StringerAll = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FileOptions)(nil), ExtensionType: (*bool)(nil), Field: 63008, Name: "gogoproto.stringer_all", Tag: "varint,63008,opt,name=stringer_all", Filename: "gogo.proto", }
View Source
var E_Testgen = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*bool)(nil), Field: 64015, Name: "gogoproto.testgen", Tag: "varint,64015,opt,name=testgen", Filename: "gogo.proto", }
View Source
var E_TestgenAll = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FileOptions)(nil), ExtensionType: (*bool)(nil), Field: 63015, Name: "gogoproto.testgen_all", Tag: "varint,63015,opt,name=testgen_all", Filename: "gogo.proto", }
View Source
var E_Typedecl = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*bool)(nil), Field: 64030, Name: "gogoproto.typedecl", Tag: "varint,64030,opt,name=typedecl", Filename: "gogo.proto", }
View Source
var E_TypedeclAll = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FileOptions)(nil), ExtensionType: (*bool)(nil), Field: 63030, Name: "gogoproto.typedecl_all", Tag: "varint,63030,opt,name=typedecl_all", Filename: "gogo.proto", }
View Source
var E_Unmarshaler = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*bool)(nil), Field: 64018, Name: "gogoproto.unmarshaler", Tag: "varint,64018,opt,name=unmarshaler", Filename: "gogo.proto", }
View Source
var E_UnmarshalerAll = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FileOptions)(nil), ExtensionType: (*bool)(nil), Field: 63018, Name: "gogoproto.unmarshaler_all", Tag: "varint,63018,opt,name=unmarshaler_all", Filename: "gogo.proto", }
View Source
var E_UnsafeMarshaler = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*bool)(nil), Field: 64023, Name: "gogoproto.unsafe_marshaler", Tag: "varint,64023,opt,name=unsafe_marshaler", Filename: "gogo.proto", }
View Source
var E_UnsafeMarshalerAll = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FileOptions)(nil), ExtensionType: (*bool)(nil), Field: 63023, Name: "gogoproto.unsafe_marshaler_all", Tag: "varint,63023,opt,name=unsafe_marshaler_all", Filename: "gogo.proto", }
View Source
var E_UnsafeUnmarshaler = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*bool)(nil), Field: 64024, Name: "gogoproto.unsafe_unmarshaler", Tag: "varint,64024,opt,name=unsafe_unmarshaler", Filename: "gogo.proto", }
View Source
var E_UnsafeUnmarshalerAll = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FileOptions)(nil), ExtensionType: (*bool)(nil), Field: 63024, Name: "gogoproto.unsafe_unmarshaler_all", Tag: "varint,63024,opt,name=unsafe_unmarshaler_all", Filename: "gogo.proto", }
View Source
var E_VerboseEqual = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*bool)(nil), Field: 64004, Name: "gogoproto.verbose_equal", Tag: "varint,64004,opt,name=verbose_equal", Filename: "gogo.proto", }
View Source
var E_VerboseEqualAll = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FileOptions)(nil), ExtensionType: (*bool)(nil), Field: 63004, Name: "gogoproto.verbose_equal_all", Tag: "varint,63004,opt,name=verbose_equal_all", Filename: "gogo.proto", }
View Source
var E_Wktpointer = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FieldOptions)(nil), ExtensionType: (*bool)(nil), Field: 65012, Name: "gogoproto.wktpointer", Tag: "varint,65012,opt,name=wktpointer", Filename: "gogo.proto", }
Functions ¶
func EnabledGoEnumAlias ¶ added in v1.3.9
func EnabledGoEnumAlias(file *google_protobuf.FileDescriptorProto, enum *google_protobuf.EnumDescriptorProto) bool
func EnabledGoEnumEqual ¶ added in v1.3.9
func EnabledGoEnumEqual(file *google_protobuf.FileDescriptorProto, enum *google_protobuf.EnumDescriptorProto) bool
func EnabledGoEnumError ¶ added in v1.4.1
func EnabledGoEnumError(file *google_protobuf.FileDescriptorProto, enum *google_protobuf.EnumDescriptorProto) bool
func EnabledGoEnumPrefix ¶
func EnabledGoEnumPrefix(file *google_protobuf.FileDescriptorProto, enum *google_protobuf.EnumDescriptorProto) bool
func EnabledGoStringer ¶
func EnabledGoStringer(file *google_protobuf.FileDescriptorProto, message *google_protobuf.DescriptorProto) bool
func GetCastKey ¶
func GetCastKey(field *google_protobuf.FieldDescriptorProto) string
func GetCastType ¶
func GetCastType(field *google_protobuf.FieldDescriptorProto) string
func GetCastValue ¶
func GetCastValue(field *google_protobuf.FieldDescriptorProto) string
func GetCustomName ¶
func GetCustomName(field *google_protobuf.FieldDescriptorProto) string
func GetCustomType ¶
func GetCustomType(field *google_protobuf.FieldDescriptorProto) string
func GetEnumAliasCustomName ¶ added in v1.3.9
func GetEnumAliasCustomName(field *google_protobuf.EnumValueDescriptorProto) string
func GetEnumCustomName ¶
func GetEnumCustomName(field *google_protobuf.EnumDescriptorProto) string
func GetEnumValueCustomName ¶
func GetEnumValueCustomName(field *google_protobuf.EnumValueDescriptorProto) string
func GetJsonTag ¶
func GetJsonTag(field *google_protobuf.FieldDescriptorProto) *string
func GetKeyReflect ¶ added in v1.4.6
func GetKeyReflect(message *google_protobuf.DescriptorProto) *string
func GetMoreTags ¶
func GetMoreTags(field *google_protobuf.FieldDescriptorProto) *string
func HasBenchGen ¶
func HasBenchGen(file *google_protobuf.FileDescriptorProto, message *google_protobuf.DescriptorProto) bool
func HasCompare ¶
func HasCompare(file *google_protobuf.FileDescriptorProto, message *google_protobuf.DescriptorProto) bool
func HasDescription ¶
func HasDescription(file *google_protobuf.FileDescriptorProto, message *google_protobuf.DescriptorProto) bool
func HasEnumDecl ¶
func HasEnumDecl(file *google_protobuf.FileDescriptorProto, enum *google_protobuf.EnumDescriptorProto) bool
func HasEqual ¶
func HasEqual(file *google_protobuf.FileDescriptorProto, message *google_protobuf.DescriptorProto) bool
func HasExtensionsMap ¶
func HasExtensionsMap(file *google_protobuf.FileDescriptorProto, message *google_protobuf.DescriptorProto) bool
func HasFormALl ¶ added in v1.4.4
func HasFormALl(file *google_protobuf.FileDescriptorProto) bool
func HasGoGetters ¶
func HasGoGetters(file *google_protobuf.FileDescriptorProto, message *google_protobuf.DescriptorProto) bool
func HasGoIsNil ¶ added in v1.4.3
func HasGoIsNil(file *google_protobuf.FileDescriptorProto, message *google_protobuf.DescriptorProto) bool
func HasGoSetters ¶ added in v1.3.9
func HasGoSetters(file *google_protobuf.FileDescriptorProto, message *google_protobuf.DescriptorProto) bool
func HasGoString ¶
func HasGoString(file *google_protobuf.FileDescriptorProto, message *google_protobuf.DescriptorProto) bool
func HasJsonUnAll ¶ added in v1.4.4
func HasJsonUnAll(file *google_protobuf.FileDescriptorProto) bool
func HasMakeStruct ¶ added in v1.5.1
func HasMakeStruct(file *google_protobuf.FileDescriptorProto) bool
func HasMessageName ¶ added in v1.1.0
func HasMessageName(file *google_protobuf.FileDescriptorProto, message *google_protobuf.DescriptorProto) bool
func HasPopulate ¶
func HasPopulate(file *google_protobuf.FileDescriptorProto, message *google_protobuf.DescriptorProto) bool
func HasSizecache ¶ added in v1.2.0
func HasSizecache(file *google_protobuf.FileDescriptorProto, message *google_protobuf.DescriptorProto) bool
func HasTestGen ¶
func HasTestGen(file *google_protobuf.FileDescriptorProto, message *google_protobuf.DescriptorProto) bool
func HasTypeDecl ¶
func HasTypeDecl(file *google_protobuf.FileDescriptorProto, message *google_protobuf.DescriptorProto) bool
func HasUnkeyed ¶ added in v1.2.0
func HasUnkeyed(file *google_protobuf.FileDescriptorProto, message *google_protobuf.DescriptorProto) bool
func HasUnrecognized ¶
func HasUnrecognized(file *google_protobuf.FileDescriptorProto, message *google_protobuf.DescriptorProto) bool
func HasVerboseEqual ¶
func HasVerboseEqual(file *google_protobuf.FileDescriptorProto, message *google_protobuf.DescriptorProto) bool
func ImportsGoGoProto ¶
func ImportsGoGoProto(file *google_protobuf.FileDescriptorProto) bool
func IsCastKey ¶
func IsCastKey(field *google_protobuf.FieldDescriptorProto) bool
func IsCastType ¶
func IsCastType(field *google_protobuf.FieldDescriptorProto) bool
func IsCastValue ¶
func IsCastValue(field *google_protobuf.FieldDescriptorProto) bool
func IsCustomName ¶
func IsCustomName(field *google_protobuf.FieldDescriptorProto) bool
func IsCustomType ¶
func IsCustomType(field *google_protobuf.FieldDescriptorProto) bool
func IsEmbed ¶
func IsEmbed(field *google_protobuf.FieldDescriptorProto) bool
func IsEnumAliasCustomName ¶ added in v1.3.9
func IsEnumAliasCustomName(field *google_protobuf.EnumValueDescriptorProto) bool
func IsEnumCustomName ¶
func IsEnumCustomName(field *google_protobuf.EnumDescriptorProto) bool
func IsEnumStringer ¶
func IsEnumStringer(file *google_protobuf.FileDescriptorProto, enum *google_protobuf.EnumDescriptorProto) bool
func IsEnumValueCustomName ¶
func IsEnumValueCustomName(field *google_protobuf.EnumValueDescriptorProto) bool
func IsFace ¶
func IsFace(file *google_protobuf.FileDescriptorProto, message *google_protobuf.DescriptorProto) bool
func IsGoEnumStringer ¶
func IsGoEnumStringer(file *google_protobuf.FileDescriptorProto, enum *google_protobuf.EnumDescriptorProto) bool
func IsMarshaler ¶
func IsMarshaler(file *google_protobuf.FileDescriptorProto, message *google_protobuf.DescriptorProto) bool
func IsNullable ¶
func IsNullable(field *google_protobuf.FieldDescriptorProto) bool
func IsProto3 ¶
func IsProto3(file *google_protobuf.FileDescriptorProto) bool
func IsProtoSizer ¶
func IsProtoSizer(file *google_protobuf.FileDescriptorProto, message *google_protobuf.DescriptorProto) bool
func IsSizer ¶
func IsSizer(file *google_protobuf.FileDescriptorProto, message *google_protobuf.DescriptorProto) bool
func IsStableMarshaler ¶
func IsStableMarshaler(file *google_protobuf.FileDescriptorProto, message *google_protobuf.DescriptorProto) bool
func IsStdBool ¶ added in v1.2.0
func IsStdBool(field *google_protobuf.FieldDescriptorProto) bool
func IsStdBytes ¶ added in v1.2.0
func IsStdBytes(field *google_protobuf.FieldDescriptorProto) bool
func IsStdDouble ¶ added in v1.2.0
func IsStdDouble(field *google_protobuf.FieldDescriptorProto) bool
func IsStdDuration ¶
func IsStdDuration(field *google_protobuf.FieldDescriptorProto) bool
func IsStdFloat ¶ added in v1.2.0
func IsStdFloat(field *google_protobuf.FieldDescriptorProto) bool
func IsStdInt32 ¶ added in v1.2.0
func IsStdInt32(field *google_protobuf.FieldDescriptorProto) bool
func IsStdInt64 ¶ added in v1.2.0
func IsStdInt64(field *google_protobuf.FieldDescriptorProto) bool
func IsStdString ¶ added in v1.2.0
func IsStdString(field *google_protobuf.FieldDescriptorProto) bool
func IsStdTime ¶
func IsStdTime(field *google_protobuf.FieldDescriptorProto) bool
func IsStdType ¶ added in v1.2.0
func IsStdType(field *google_protobuf.FieldDescriptorProto) bool
func IsStdUInt32 ¶ added in v1.2.0
func IsStdUInt32(field *google_protobuf.FieldDescriptorProto) bool
func IsStdUInt64 ¶ added in v1.2.0
func IsStdUInt64(field *google_protobuf.FieldDescriptorProto) bool
func IsStringer ¶
func IsStringer(file *google_protobuf.FileDescriptorProto, message *google_protobuf.DescriptorProto) bool
func IsUnion ¶
func IsUnion(file *google_protobuf.FileDescriptorProto, message *google_protobuf.DescriptorProto) bool
func IsUnmarshaler ¶
func IsUnmarshaler(file *google_protobuf.FileDescriptorProto, message *google_protobuf.DescriptorProto) bool
func IsUnsafeMarshaler ¶
func IsUnsafeMarshaler(file *google_protobuf.FileDescriptorProto, message *google_protobuf.DescriptorProto) bool
func IsUnsafeUnmarshaler ¶
func IsUnsafeUnmarshaler(file *google_protobuf.FileDescriptorProto, message *google_protobuf.DescriptorProto) bool
func IsWktPtr ¶ added in v1.2.0
func IsWktPtr(field *google_protobuf.FieldDescriptorProto) bool
func NeedsNilCheck ¶
func NeedsNilCheck(proto3 bool, field *google_protobuf.FieldDescriptorProto) bool
func RegistersGolangProto ¶
func RegistersGolangProto(file *google_protobuf.FileDescriptorProto) bool
Types ¶
type EnableFunc ¶
type EnableFunc func(file *google_protobuf.FileDescriptorProto, message *google_protobuf.DescriptorProto) bool
type Router ¶ added in v1.5.1
type Router struct { // 对应rcp的server name Server *string `protobuf:"bytes,2,opt,name=server" json:"server,omitempty"` // http路由地址 RouterPath *string `protobuf:"bytes,1,opt,name=router_path,json=routerPath" json:"router_path,omitempty"` // 插件 Plugins []string `protobuf:"bytes,3,rep,name=plugins" json:"plugins,omitempty"` // http method Method *string `protobuf:"bytes,4,opt,name=method" json:"method,omitempty"` // 后置插件 After []string `protobuf:"bytes,5,rep,name=after" json:"after,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
goTypeName:Router
func GetRouterPath ¶ added in v1.5.1
func GetRouterPath(message *google_protobuf.MethodDescriptorProto) *Router
func (*Router) Descriptor ¶ added in v1.5.1
func (*Router) GetPlugins ¶ added in v1.5.3
func (*Router) GetRouterPath ¶ added in v1.5.1
func (*Router) ProtoMessage ¶ added in v1.5.1
func (*Router) ProtoMessage()
func (*Router) SetMethod_ ¶ added in v1.5.7
func (*Router) SetPlugins_ ¶ added in v1.5.3
func (*Router) SetRouterPath_ ¶ added in v1.5.1
func (*Router) SetServer_ ¶ added in v1.5.1
func (*Router) XXX_DiscardUnknown ¶ added in v1.5.1
func (m *Router) XXX_DiscardUnknown()
func (*Router) XXX_Marshal ¶ added in v1.5.1
func (*Router) XXX_Unmarshal ¶ added in v1.5.1
Click to show internal directories.
Click to hide internal directories.