pb

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package pb ...

Index

Constants

This section is empty.

Variables

View Source
var File_natjs_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Reply

type Reply struct {
	Data        []byte            `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	ContentType string            `protobuf:"bytes,2,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
	Metadata    map[string]string `` /* 143-byte string literal not displayed */
	Code        int32             `protobuf:"varint,4,opt,name=code,proto3" json:"code,omitempty"`
	Message     string            `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*Reply) Descriptor deprecated

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

Deprecated: Use Reply.ProtoReflect.Descriptor instead.

func (*Reply) GetCode

func (x *Reply) GetCode() int32

func (*Reply) GetContentType

func (x *Reply) GetContentType() string

func (*Reply) GetData

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

func (*Reply) GetMessage

func (x *Reply) GetMessage() string

func (*Reply) GetMetadata

func (x *Reply) GetMetadata() map[string]string

func (*Reply) ProtoMessage

func (*Reply) ProtoMessage()

func (*Reply) ProtoReflect

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

func (*Reply) Reset

func (x *Reply) Reset()

func (*Reply) String

func (x *Reply) String() string

type Request

type Request struct {
	Data        []byte            `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	ContentType string            `protobuf:"bytes,2,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
	Metadata    map[string]string `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Request) Descriptor deprecated

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

Deprecated: Use Request.ProtoReflect.Descriptor instead.

func (*Request) GetContentType

func (x *Request) GetContentType() string

func (*Request) GetData

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

func (*Request) GetMetadata

func (x *Request) GetMetadata() map[string]string

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

Jump to

Keyboard shortcuts

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