apiv1

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_api_v1_request_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Request

type Request struct {

	// Types that are assignable to Kind:
	//
	//	*Request_Name
	//	*Request_Code
	Kind isRequest_Kind `protobuf_oneof:"kind"`
	// contains filtered or unexported fields
}

Request is a message that can be sent to the server.

func (*Request) Descriptor deprecated

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

Deprecated: Use Request.ProtoReflect.Descriptor instead.

func (*Request) GetCode

func (x *Request) GetCode() int32

func (*Request) GetKind

func (m *Request) GetKind() isRequest_Kind

func (*Request) GetName

func (x *Request) GetName() string

func (*Request) MarshalJSON

func (msg *Request) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) ProtoReflect

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

func (*Request) Reset

func (x *Request) Reset()

func (*Request) String

func (x *Request) String() string

func (*Request) UnmarshalJSON

func (msg *Request) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

type Request_Code

type Request_Code struct {
	Code int32 `protobuf:"varint,2,opt,name=code,proto3,oneof"`
}

type Request_Name

type Request_Name struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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