pb

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_coremsg_proto protoreflect.FileDescriptor

Functions

func RegisterCoreFileServiceServer

func RegisterCoreFileServiceServer(s *grpc.Server, srv CoreFileServiceServer)

Types

type CoreFileServiceClient

type CoreFileServiceClient interface {
	Sub(ctx context.Context, in *Corefile, opts ...grpc.CallOption) (*Corefile, error)
}

CoreFileServiceClient is the client API for CoreFileService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type CoreFileServiceServer

type CoreFileServiceServer interface {
	Sub(context.Context, *Corefile) (*Corefile, error)
}

CoreFileServiceServer is the server API for CoreFileService service.

type Corefile

type Corefile struct {
	Ip       string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	Filepath string `protobuf:"bytes,2,opt,name=filepath,proto3" json:"filepath,omitempty"`
	Url      string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*Corefile) Descriptor deprecated

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

Deprecated: Use Corefile.ProtoReflect.Descriptor instead.

func (*Corefile) GetFilepath

func (x *Corefile) GetFilepath() string

func (*Corefile) GetIp

func (x *Corefile) GetIp() string

func (*Corefile) GetUrl

func (x *Corefile) GetUrl() string

func (*Corefile) ProtoMessage

func (*Corefile) ProtoMessage()

func (*Corefile) ProtoReflect

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

func (*Corefile) Reset

func (x *Corefile) Reset()

func (*Corefile) String

func (x *Corefile) String() string

type UnimplementedCoreFileServiceServer

type UnimplementedCoreFileServiceServer struct {
}

UnimplementedCoreFileServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedCoreFileServiceServer) Sub

Jump to

Keyboard shortcuts

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