cddext

package
v0.0.0-...-da4b49c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2023 License: MIT Imports: 6 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// optional cdd.api.MysqlField mysql_field = 120000;
	E_MysqlField = &file_cdd_api_cddext_proto_extTypes[1]
	// optional string validate = 121000;
	E_Validate = &file_cdd_api_cddext_proto_extTypes[2]
	// optional string default = 122000;
	E_Default = &file_cdd_api_cddext_proto_extTypes[3]
)

Extension fields to descriptor.FieldOptions.

View Source
var (
	// optional cdd.api.Auth auth = 130000;
	E_Auth = &file_cdd_api_cddext_proto_extTypes[4]
)

Extension fields to descriptor.MethodOptions.

View Source
var (
	// optional cdd.api.Mysql mysql = 110000;
	E_Mysql = &file_cdd_api_cddext_proto_extTypes[0]
)

Extension fields to descriptor.MessageOptions.

View Source
var File_cdd_api_cddext_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Auth

type Auth struct {
	Needauth   bool     `protobuf:"varint,130001,opt,name=needauth,proto3" json:"needauth,omitempty"`
	Needapikey bool     `protobuf:"varint,130002,opt,name=needapikey,proto3" json:"needapikey,omitempty"`
	Roles      []string `protobuf:"bytes,130003,rep,name=roles,proto3" json:"roles,omitempty"`
	// contains filtered or unexported fields
}

Authentication

func (*Auth) Descriptor deprecated

func (*Auth) Descriptor() ([]byte, []int)

Deprecated: Use Auth.ProtoReflect.Descriptor instead.

func (*Auth) GetNeedapikey

func (x *Auth) GetNeedapikey() bool

func (*Auth) GetNeedauth

func (x *Auth) GetNeedauth() bool

func (*Auth) GetRoles

func (x *Auth) GetRoles() []string

func (*Auth) ProtoMessage

func (*Auth) ProtoMessage()

func (*Auth) ProtoReflect

func (x *Auth) ProtoReflect() protoreflect.Message

func (*Auth) Reset

func (x *Auth) Reset()

func (*Auth) String

func (x *Auth) String() string

type Mysql

type Mysql struct {
	DbModel                  bool   `protobuf:"varint,110001,opt,name=db_model,json=dbModel,proto3" json:"db_model,omitempty"`
	TableName                string `protobuf:"bytes,110002,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
	DisableTimestampTracking bool   `` /* 141-byte string literal not displayed */
	EnableSoftDelete         bool   `protobuf:"varint,110004,opt,name=enable_soft_delete,json=enableSoftDelete,proto3" json:"enable_soft_delete,omitempty"`
	// contains filtered or unexported fields
}

DB: Mysql

func (*Mysql) Descriptor deprecated

func (*Mysql) Descriptor() ([]byte, []int)

Deprecated: Use Mysql.ProtoReflect.Descriptor instead.

func (*Mysql) GetDbModel

func (x *Mysql) GetDbModel() bool

func (*Mysql) GetDisableTimestampTracking

func (x *Mysql) GetDisableTimestampTracking() bool

func (*Mysql) GetEnableSoftDelete

func (x *Mysql) GetEnableSoftDelete() bool

func (*Mysql) GetTableName

func (x *Mysql) GetTableName() string

func (*Mysql) ProtoMessage

func (*Mysql) ProtoMessage()

func (*Mysql) ProtoReflect

func (x *Mysql) ProtoReflect() protoreflect.Message

func (*Mysql) Reset

func (x *Mysql) Reset()

func (*Mysql) String

func (x *Mysql) String() string

type MysqlField

type MysqlField struct {
	ColumnName string `protobuf:"bytes,120001,opt,name=column_name,json=columnName,proto3" json:"column_name,omitempty"`
	PrimaryKey bool   `protobuf:"varint,120002,opt,name=primary_key,json=primaryKey,proto3" json:"primary_key,omitempty"`
	ColumnType string `protobuf:"bytes,120003,opt,name=column_type,json=columnType,proto3" json:"column_type,omitempty"`
	Nullable   bool   `protobuf:"varint,120004,opt,name=nullable,proto3" json:"nullable,omitempty"`
	// contains filtered or unexported fields
}

func (*MysqlField) Descriptor deprecated

func (*MysqlField) Descriptor() ([]byte, []int)

Deprecated: Use MysqlField.ProtoReflect.Descriptor instead.

func (*MysqlField) GetColumnName

func (x *MysqlField) GetColumnName() string

func (*MysqlField) GetColumnType

func (x *MysqlField) GetColumnType() string

func (*MysqlField) GetNullable

func (x *MysqlField) GetNullable() bool

func (*MysqlField) GetPrimaryKey

func (x *MysqlField) GetPrimaryKey() bool

func (*MysqlField) ProtoMessage

func (*MysqlField) ProtoMessage()

func (*MysqlField) ProtoReflect

func (x *MysqlField) ProtoReflect() protoreflect.Message

func (*MysqlField) Reset

func (x *MysqlField) Reset()

func (*MysqlField) String

func (x *MysqlField) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL