initial commit

This commit is contained in:
Семен Каменецкий
2026-09-15 15:31:54 +03:00
parent 702f108aff
commit 09dd1f7217
65 changed files with 4640 additions and 0 deletions
+205
View File
@@ -0,0 +1,205 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.12
// protoc v7.36.0
// source: api/services/debug_service.proto
package services
import (
_ "google.golang.org/genproto/googleapis/api/annotations"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type GetVersion struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetVersion) Reset() {
*x = GetVersion{}
mi := &file_api_services_debug_service_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetVersion) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetVersion) ProtoMessage() {}
func (x *GetVersion) ProtoReflect() protoreflect.Message {
mi := &file_api_services_debug_service_proto_msgTypes[0]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetVersion.ProtoReflect.Descriptor instead.
func (*GetVersion) Descriptor() ([]byte, []int) {
return file_api_services_debug_service_proto_rawDescGZIP(), []int{0}
}
type GetVersion_Request struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetVersion_Request) Reset() {
*x = GetVersion_Request{}
mi := &file_api_services_debug_service_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetVersion_Request) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetVersion_Request) ProtoMessage() {}
func (x *GetVersion_Request) ProtoReflect() protoreflect.Message {
mi := &file_api_services_debug_service_proto_msgTypes[1]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetVersion_Request.ProtoReflect.Descriptor instead.
func (*GetVersion_Request) Descriptor() ([]byte, []int) {
return file_api_services_debug_service_proto_rawDescGZIP(), []int{0, 0}
}
type GetVersion_Response struct {
state protoimpl.MessageState `protogen:"open.v1"`
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetVersion_Response) Reset() {
*x = GetVersion_Response{}
mi := &file_api_services_debug_service_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetVersion_Response) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetVersion_Response) ProtoMessage() {}
func (x *GetVersion_Response) ProtoReflect() protoreflect.Message {
mi := &file_api_services_debug_service_proto_msgTypes[2]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetVersion_Response.ProtoReflect.Descriptor instead.
func (*GetVersion_Response) Descriptor() ([]byte, []int) {
return file_api_services_debug_service_proto_rawDescGZIP(), []int{0, 1}
}
func (x *GetVersion_Response) GetVersion() string {
if x != nil {
return x.Version
}
return ""
}
var File_api_services_debug_service_proto protoreflect.FileDescriptor
const file_api_services_debug_service_proto_rawDesc = "" +
"\n" +
" api/services/debug_service.proto\x12\fapi.services\x1a\x1cgoogle/api/annotations.proto\"=\n" +
"\n" +
"GetVersion\x1a\t\n" +
"\aRequest\x1a$\n" +
"\bResponse\x12\x18\n" +
"\aversion\x18\x01 \x01(\tR\aversion2v\n" +
"\bDebugAPI\x12j\n" +
"\n" +
"GetVersion\x12 .api.services.GetVersion.Request\x1a!.api.services.GetVersion.Response\"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/api/v1/versionB\x15Z\x13pkg/pb/api/servicesb\x06proto3"
var (
file_api_services_debug_service_proto_rawDescOnce sync.Once
file_api_services_debug_service_proto_rawDescData []byte
)
func file_api_services_debug_service_proto_rawDescGZIP() []byte {
file_api_services_debug_service_proto_rawDescOnce.Do(func() {
file_api_services_debug_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_api_services_debug_service_proto_rawDesc), len(file_api_services_debug_service_proto_rawDesc)))
})
return file_api_services_debug_service_proto_rawDescData
}
var file_api_services_debug_service_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_api_services_debug_service_proto_goTypes = []any{
(*GetVersion)(nil), // 0: api.services.GetVersion
(*GetVersion_Request)(nil), // 1: api.services.GetVersion.Request
(*GetVersion_Response)(nil), // 2: api.services.GetVersion.Response
}
var file_api_services_debug_service_proto_depIdxs = []int32{
1, // 0: api.services.DebugAPI.GetVersion:input_type -> api.services.GetVersion.Request
2, // 1: api.services.DebugAPI.GetVersion:output_type -> api.services.GetVersion.Response
1, // [1:2] is the sub-list for method output_type
0, // [0:1] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { file_api_services_debug_service_proto_init() }
func file_api_services_debug_service_proto_init() {
if File_api_services_debug_service_proto != nil {
return
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_api_services_debug_service_proto_rawDesc), len(file_api_services_debug_service_proto_rawDesc)),
NumEnums: 0,
NumMessages: 3,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_api_services_debug_service_proto_goTypes,
DependencyIndexes: file_api_services_debug_service_proto_depIdxs,
MessageInfos: file_api_services_debug_service_proto_msgTypes,
}.Build()
File_api_services_debug_service_proto = out.File
file_api_services_debug_service_proto_goTypes = nil
file_api_services_debug_service_proto_depIdxs = nil
}