proto

package
v0.0.0-...-ebedddc Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_mouse_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Empty

type Empty struct {
	// contains filtered or unexported fields
}

func (*Empty) Descriptor deprecated

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

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

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

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

type Message

type Message struct {
	Data    []byte `protobuf:"bytes,1,opt,name=data,proto3,oneof" json:"data,omitempty"`
	TaskId  int64  `protobuf:"varint,2,opt,name=taskId,proto3" json:"taskId,omitempty"`
	MsgType string `protobuf:"bytes,3,opt,name=msgType,proto3" json:"msgType,omitempty"`
	// contains filtered or unexported fields
}

func (*Message) Descriptor deprecated

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

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetData

func (x *Message) GetData() []byte

func (*Message) GetMsgType

func (x *Message) GetMsgType() string

func (*Message) GetTaskId

func (x *Message) GetTaskId() int64

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect

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

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

type MouseResponse

type MouseResponse struct {
	Code int32  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg  string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Data []byte `protobuf:"bytes,3,opt,name=data,proto3,oneof" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*MouseResponse) Descriptor deprecated

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

Deprecated: Use MouseResponse.ProtoReflect.Descriptor instead.

func (*MouseResponse) GetCode

func (x *MouseResponse) GetCode() int32

func (*MouseResponse) GetData

func (x *MouseResponse) GetData() []byte

func (*MouseResponse) GetMsg

func (x *MouseResponse) GetMsg() string

func (*MouseResponse) ProtoMessage

func (*MouseResponse) ProtoMessage()

func (*MouseResponse) ProtoReflect

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

func (*MouseResponse) Reset

func (x *MouseResponse) Reset()

func (*MouseResponse) String

func (x *MouseResponse) String() string

type Scene

type Scene struct {
	TaskId int64 `protobuf:"varint,1,opt,name=taskId,proto3" json:"taskId,omitempty"`
	// contains filtered or unexported fields
}

func (*Scene) Descriptor deprecated

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

Deprecated: Use Scene.ProtoReflect.Descriptor instead.

func (*Scene) GetTaskId

func (x *Scene) GetTaskId() int64

func (*Scene) ProtoMessage

func (*Scene) ProtoMessage()

func (*Scene) ProtoReflect

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

func (*Scene) Reset

func (x *Scene) Reset()

func (*Scene) String

func (x *Scene) String() string

type StopTask

type StopTask struct {
	TaskId int64 `protobuf:"varint,1,opt,name=taskId,proto3" json:"taskId,omitempty"`
	// contains filtered or unexported fields
}

func (*StopTask) Descriptor deprecated

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

Deprecated: Use StopTask.ProtoReflect.Descriptor instead.

func (*StopTask) GetTaskId

func (x *StopTask) GetTaskId() int64

func (*StopTask) ProtoMessage

func (*StopTask) ProtoMessage()

func (*StopTask) ProtoReflect

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

func (*StopTask) Reset

func (x *StopTask) Reset()

func (*StopTask) String

func (x *StopTask) String() string

type Task

type Task struct {

	// unique scene id
	TaskId int64 `protobuf:"varint,1,opt,name=taskId,proto3" json:"taskId,omitempty"`
	// scene data
	Data []byte `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"`
	// maxQps
	MaxQps *int32 `protobuf:"varint,2,opt,name=maxQps,proto3,oneof" json:"maxQps,omitempty"`
	// threads
	Threads *int32 `protobuf:"varint,3,opt,name=threads,proto3,oneof" json:"threads,omitempty"`
	// latest if 0 then run forever until user stop
	Minutes *int64 `protobuf:"varint,4,opt,name=minutes,proto3,oneof" json:"minutes,omitempty"`
	// interval threads created in how many seconds
	Interval *int32 `protobuf:"varint,5,opt,name=interval,proto3,oneof" json:"interval,omitempty"`
	// contains filtered or unexported fields
}

func (*Task) Descriptor deprecated

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

Deprecated: Use Task.ProtoReflect.Descriptor instead.

func (*Task) GetData

func (x *Task) GetData() []byte

func (*Task) GetInterval

func (x *Task) GetInterval() int32

func (*Task) GetMaxQps

func (x *Task) GetMaxQps() int32

func (*Task) GetMinutes

func (x *Task) GetMinutes() int64

func (*Task) GetTaskId

func (x *Task) GetTaskId() int64

func (*Task) GetThreads

func (x *Task) GetThreads() int32

func (*Task) ProtoMessage

func (*Task) ProtoMessage()

func (*Task) ProtoReflect

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

func (*Task) Reset

func (x *Task) Reset()

func (*Task) String

func (x *Task) String() string

Jump to

Keyboard shortcuts

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