Notes added by 'git notes append'
This commit is contained in:
parent
17c35e280b
commit
8ecbbb3564
|
@ -88,3 +88,267 @@ func (v *ToolkitConfigs) Unmarshal(data []byte) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
// `autogen:toolkitConfig.pb.go`
|
// `autogen:toolkitConfig.pb.go`
|
||||||
|
|
||||||
|
// Code modified by go.wit.com/apps/autogenpb DO NOT EDIT.
|
||||||
|
//
|
||||||
|
// user defined Mutex locks were auto added
|
||||||
|
//
|
||||||
|
// autogenpb version & build time: v0.0.52-1-g4fdcc99 2025.02.12_1512
|
||||||
|
// autogenpb auto generates Sort(), Unique() and Marshal() functions
|
||||||
|
// go install go.wit.com/apps/autogenpb@latest
|
||||||
|
|
||||||
|
// Copyright 2025 WIT.COM Inc Licensed GPL 3.0
|
||||||
|
|
||||||
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
|
// versions:
|
||||||
|
// protoc-gen-go v1.33.0
|
||||||
|
// protoc v3.21.12
|
||||||
|
// source: toolkitConfig.proto
|
||||||
|
|
||||||
|
package tree // autogenpb changed the package name
|
||||||
|
|
||||||
|
import (
|
||||||
|
reflect "reflect"
|
||||||
|
sync "sync"
|
||||||
|
|
||||||
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||||
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||||
|
_ "google.golang.org/protobuf/types/known/timestamppb"
|
||||||
|
)
|
||||||
|
|
||||||
|
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 ToolkitConfig struct {
|
||||||
|
sync.RWMutex // auto-added by go.wit.com/apps/autogenpb
|
||||||
|
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
Plugin string `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"` // 'gocui', 'andlabs', etc
|
||||||
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // variable name 'fullscreen'
|
||||||
|
Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // value "true"
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *ToolkitConfig) Reset() {
|
||||||
|
*x = ToolkitConfig{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_toolkitConfig_proto_msgTypes[0]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *ToolkitConfig) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*ToolkitConfig) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *ToolkitConfig) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_toolkitConfig_proto_msgTypes[0]
|
||||||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
if ms.LoadMessageInfo() == nil {
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
return ms
|
||||||
|
}
|
||||||
|
return mi.MessageOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
// Deprecated: Use ToolkitConfig.ProtoReflect.Descriptor instead.
|
||||||
|
func (*ToolkitConfig) Descriptor() ([]byte, []int) {
|
||||||
|
return file_toolkitConfig_proto_rawDescGZIP(), []int{0}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *ToolkitConfig) GetPlugin() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Plugin
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *ToolkitConfig) GetName() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Name
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *ToolkitConfig) GetValue() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Value
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
type ToolkitConfigs struct {
|
||||||
|
// sync.RWMutex // skipped. protobuf file has `autogenpb:nomutex`
|
||||||
|
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // `autogenpb:uuid:d7886d47-a3b9-43b9-b0f6-17074a9844e6`
|
||||||
|
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // `autogenpb:version:v0.0.1`
|
||||||
|
ToolkitConfigs []*ToolkitConfig `protobuf:"bytes,3,rep,name=ToolkitConfigs,proto3" json:"ToolkitConfigs,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *ToolkitConfigs) Reset() {
|
||||||
|
*x = ToolkitConfigs{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_toolkitConfig_proto_msgTypes[1]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *ToolkitConfigs) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*ToolkitConfigs) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *ToolkitConfigs) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_toolkitConfig_proto_msgTypes[1]
|
||||||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
if ms.LoadMessageInfo() == nil {
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
return ms
|
||||||
|
}
|
||||||
|
return mi.MessageOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
// Deprecated: Use ToolkitConfigs.ProtoReflect.Descriptor instead.
|
||||||
|
func (*ToolkitConfigs) Descriptor() ([]byte, []int) {
|
||||||
|
return file_toolkitConfig_proto_rawDescGZIP(), []int{1}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *ToolkitConfigs) GetUuid() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Uuid
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *ToolkitConfigs) GetVersion() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Version
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *ToolkitConfigs) GetToolkitConfigs() []*ToolkitConfig {
|
||||||
|
if x != nil {
|
||||||
|
return x.ToolkitConfigs
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
var File_toolkitConfig_proto protoreflect.FileDescriptor
|
||||||
|
|
||||||
|
var file_toolkitConfig_proto_rawDesc = []byte{
|
||||||
|
0x0a, 0x13, 0x74, 0x6f, 0x6f, 0x6c, 0x6b, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
|
||||||
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x66, 0x6f, 0x72, 0x67, 0x65, 0x70, 0x62, 0x1a, 0x1f,
|
||||||
|
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
|
||||||
|
0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
|
||||||
|
0x51, 0x0a, 0x0d, 0x54, 0x6f, 0x6f, 0x6c, 0x6b, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
|
||||||
|
0x12, 0x16, 0x0a, 0x06, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
||||||
|
0x52, 0x06, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
|
||||||
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05,
|
||||||
|
0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c,
|
||||||
|
0x75, 0x65, 0x22, 0x7e, 0x0a, 0x0e, 0x54, 0x6f, 0x6f, 0x6c, 0x6b, 0x69, 0x74, 0x43, 0x6f, 0x6e,
|
||||||
|
0x66, 0x69, 0x67, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
||||||
|
0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73,
|
||||||
|
0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69,
|
||||||
|
0x6f, 0x6e, 0x12, 0x3e, 0x0a, 0x0e, 0x54, 0x6f, 0x6f, 0x6c, 0x6b, 0x69, 0x74, 0x43, 0x6f, 0x6e,
|
||||||
|
0x66, 0x69, 0x67, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x6f, 0x72,
|
||||||
|
0x67, 0x65, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x6f, 0x6c, 0x6b, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66,
|
||||||
|
0x69, 0x67, 0x52, 0x0e, 0x54, 0x6f, 0x6f, 0x6c, 0x6b, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69,
|
||||||
|
0x67, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
|
}
|
||||||
|
|
||||||
|
var (
|
||||||
|
file_toolkitConfig_proto_rawDescOnce sync.Once
|
||||||
|
file_toolkitConfig_proto_rawDescData = file_toolkitConfig_proto_rawDesc
|
||||||
|
)
|
||||||
|
|
||||||
|
func file_toolkitConfig_proto_rawDescGZIP() []byte {
|
||||||
|
file_toolkitConfig_proto_rawDescOnce.Do(func() {
|
||||||
|
file_toolkitConfig_proto_rawDescData = protoimpl.X.CompressGZIP(file_toolkitConfig_proto_rawDescData)
|
||||||
|
})
|
||||||
|
return file_toolkitConfig_proto_rawDescData
|
||||||
|
}
|
||||||
|
|
||||||
|
var file_toolkitConfig_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
||||||
|
var file_toolkitConfig_proto_goTypes = []interface{}{
|
||||||
|
(*ToolkitConfig)(nil), // 0: forgepb.ToolkitConfig
|
||||||
|
(*ToolkitConfigs)(nil), // 1: forgepb.ToolkitConfigs
|
||||||
|
}
|
||||||
|
var file_toolkitConfig_proto_depIdxs = []int32{
|
||||||
|
0, // 0: forgepb.ToolkitConfigs.ToolkitConfigs:type_name -> forgepb.ToolkitConfig
|
||||||
|
1, // [1:1] is the sub-list for method output_type
|
||||||
|
1, // [1:1] is the sub-list for method input_type
|
||||||
|
1, // [1:1] is the sub-list for extension type_name
|
||||||
|
1, // [1:1] is the sub-list for extension extendee
|
||||||
|
0, // [0:1] is the sub-list for field type_name
|
||||||
|
}
|
||||||
|
|
||||||
|
func init() { file_toolkitConfig_proto_init() }
|
||||||
|
func file_toolkitConfig_proto_init() {
|
||||||
|
if File_toolkitConfig_proto != nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
if !protoimpl.UnsafeEnabled {
|
||||||
|
file_toolkitConfig_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*ToolkitConfig); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_toolkitConfig_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*ToolkitConfigs); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
type x struct{}
|
||||||
|
out := protoimpl.TypeBuilder{
|
||||||
|
File: protoimpl.DescBuilder{
|
||||||
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
|
RawDescriptor: file_toolkitConfig_proto_rawDesc,
|
||||||
|
NumEnums: 0,
|
||||||
|
NumMessages: 2,
|
||||||
|
NumExtensions: 0,
|
||||||
|
NumServices: 0,
|
||||||
|
},
|
||||||
|
GoTypes: file_toolkitConfig_proto_goTypes,
|
||||||
|
DependencyIndexes: file_toolkitConfig_proto_depIdxs,
|
||||||
|
MessageInfos: file_toolkitConfig_proto_msgTypes,
|
||||||
|
}.Build()
|
||||||
|
File_toolkitConfig_proto = out.File
|
||||||
|
file_toolkitConfig_proto_rawDesc = nil
|
||||||
|
file_toolkitConfig_proto_goTypes = nil
|
||||||
|
file_toolkitConfig_proto_depIdxs = nil
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue