lava

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 1, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// optional string query = 100001;
	E_Query = &file_proto_lava_resty_proto_extTypes[0]
	// optional string param = 100002;
	E_Param = &file_proto_lava_resty_proto_extTypes[1]
)

Extension fields to descriptorpb.FieldOptions.

View Source
var (
	// optional lava.Resty resty = 100000;
	E_Resty = &file_proto_lava_resty_proto_extTypes[2]
)

Extension fields to descriptorpb.ServiceOptions.

View Source
var (
	// optional lava.sql sqlx = 100000;
	E_Sqlx = &file_proto_lava_sql_proto_extTypes[0]
)

Extension fields to descriptorpb.MethodOptions.

View Source
var (
	// repeated lava.Tag tags = 100000;
	E_Tags = &file_proto_lava_tags_proto_extTypes[0]
)

Extension fields to descriptorpb.FieldOptions.

View Source
var File_proto_lava_resty_proto protoreflect.FileDescriptor
View Source
var File_proto_lava_sql_proto protoreflect.FileDescriptor
View Source
var File_proto_lava_tags_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Response added in v0.1.26

type Response struct {
	Code    int32             `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Headers map[string]string `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Response) Descriptor deprecated added in v0.1.26

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

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetCode added in v0.1.26

func (x *Response) GetCode() int32

func (*Response) GetHeaders added in v0.1.26

func (x *Response) GetHeaders() map[string]string

func (*Response) ProtoMessage added in v0.1.26

func (*Response) ProtoMessage()

func (*Response) ProtoReflect added in v0.1.26

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

func (*Response) Reset added in v0.1.26

func (x *Response) Reset()

func (*Response) String added in v0.1.26

func (x *Response) String() string

type Resty added in v0.2.0

type Resty struct {
	Enable bool `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"`
	// contains filtered or unexported fields
}

func (*Resty) Descriptor deprecated added in v0.2.0

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

Deprecated: Use Resty.ProtoReflect.Descriptor instead.

func (*Resty) GetEnable added in v0.2.0

func (x *Resty) GetEnable() bool

func (*Resty) ProtoMessage added in v0.2.0

func (*Resty) ProtoMessage()

func (*Resty) ProtoReflect added in v0.2.0

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

func (*Resty) Reset added in v0.2.0

func (x *Resty) Reset()

func (*Resty) String added in v0.2.0

func (x *Resty) String() string

type Sql

type Sql struct {
	Query *string `protobuf:"bytes,1,opt,name=query,proto3,oneof" json:"query,omitempty"`
	Exec  *string `protobuf:"bytes,2,opt,name=exec,proto3,oneof" json:"exec,omitempty"`
	// contains filtered or unexported fields
}

func (*Sql) Descriptor deprecated

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

Deprecated: Use Sql.ProtoReflect.Descriptor instead.

func (*Sql) GetExec

func (x *Sql) GetExec() string

func (*Sql) GetQuery

func (x *Sql) GetQuery() string

func (*Sql) ProtoMessage

func (*Sql) ProtoMessage()

func (*Sql) ProtoReflect

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

func (*Sql) Reset

func (x *Sql) Reset()

func (*Sql) String

func (x *Sql) String() string

type Tag

type Tag struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Tag) Descriptor deprecated

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

Deprecated: Use Tag.ProtoReflect.Descriptor instead.

func (*Tag) GetKey

func (x *Tag) GetKey() string

func (*Tag) GetValue

func (x *Tag) GetValue() string

func (*Tag) ProtoMessage

func (*Tag) ProtoMessage()

func (*Tag) ProtoReflect

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

func (*Tag) Reset

func (x *Tag) Reset()

func (*Tag) String

func (x *Tag) String() string

Jump to

Keyboard shortcuts

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