feat: api.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.35.2
|
||||
// protoc-gen-go v1.36.5
|
||||
// protoc (unknown)
|
||||
// source: conf/v1/kratos_conf_authz.proto
|
||||
|
||||
@@ -12,6 +12,7 @@ import (
|
||||
_ "google.golang.org/protobuf/types/known/durationpb"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -23,9 +24,9 @@ const (
|
||||
|
||||
// 授权
|
||||
type Authorization struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *Authorization) Reset() {
|
||||
@@ -60,7 +61,7 @@ func (*Authorization) Descriptor() ([]byte, []int) {
|
||||
|
||||
var File_conf_v1_kratos_conf_authz_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_conf_v1_kratos_conf_authz_proto_rawDesc = []byte{
|
||||
var file_conf_v1_kratos_conf_authz_proto_rawDesc = string([]byte{
|
||||
0x0a, 0x1f, 0x63, 0x6f, 0x6e, 0x66, 0x2f, 0x76, 0x31, 0x2f, 0x6b, 0x72, 0x61, 0x74, 0x6f, 0x73,
|
||||
0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x7a, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
||||
0x6f, 0x12, 0x04, 0x63, 0x6f, 0x6e, 0x66, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
|
||||
@@ -76,16 +77,16 @@ var file_conf_v1_kratos_conf_authz_proto_rawDesc = []byte{
|
||||
0xca, 0x02, 0x04, 0x43, 0x6f, 0x6e, 0x66, 0xe2, 0x02, 0x10, 0x43, 0x6f, 0x6e, 0x66, 0x5c, 0x47,
|
||||
0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x04, 0x43, 0x6f, 0x6e,
|
||||
0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
})
|
||||
|
||||
var (
|
||||
file_conf_v1_kratos_conf_authz_proto_rawDescOnce sync.Once
|
||||
file_conf_v1_kratos_conf_authz_proto_rawDescData = file_conf_v1_kratos_conf_authz_proto_rawDesc
|
||||
file_conf_v1_kratos_conf_authz_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_conf_v1_kratos_conf_authz_proto_rawDescGZIP() []byte {
|
||||
file_conf_v1_kratos_conf_authz_proto_rawDescOnce.Do(func() {
|
||||
file_conf_v1_kratos_conf_authz_proto_rawDescData = protoimpl.X.CompressGZIP(file_conf_v1_kratos_conf_authz_proto_rawDescData)
|
||||
file_conf_v1_kratos_conf_authz_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_conf_v1_kratos_conf_authz_proto_rawDesc), len(file_conf_v1_kratos_conf_authz_proto_rawDesc)))
|
||||
})
|
||||
return file_conf_v1_kratos_conf_authz_proto_rawDescData
|
||||
}
|
||||
@@ -111,7 +112,7 @@ func file_conf_v1_kratos_conf_authz_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_conf_v1_kratos_conf_authz_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_conf_v1_kratos_conf_authz_proto_rawDesc), len(file_conf_v1_kratos_conf_authz_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -122,7 +123,6 @@ func file_conf_v1_kratos_conf_authz_proto_init() {
|
||||
MessageInfos: file_conf_v1_kratos_conf_authz_proto_msgTypes,
|
||||
}.Build()
|
||||
File_conf_v1_kratos_conf_authz_proto = out.File
|
||||
file_conf_v1_kratos_conf_authz_proto_rawDesc = nil
|
||||
file_conf_v1_kratos_conf_authz_proto_goTypes = nil
|
||||
file_conf_v1_kratos_conf_authz_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user