Documentation
¶
Index ¶
- Variables
- func RegisterCoreFileServiceServer(s *grpc.Server, srv CoreFileServiceServer)
- type CoreFileServiceClient
- type CoreFileServiceServer
- type Corefile
- func (*Corefile) Descriptor() ([]byte, []int)deprecated
- func (x *Corefile) GetFilepath() string
- func (x *Corefile) GetIp() string
- func (x *Corefile) GetUrl() string
- func (*Corefile) ProtoMessage()
- func (x *Corefile) ProtoReflect() protoreflect.Message
- func (x *Corefile) Reset()
- func (x *Corefile) String() string
- type UnimplementedCoreFileServiceServer
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.
func NewCoreFileServiceClient ¶
func NewCoreFileServiceClient(cc grpc.ClientConnInterface) CoreFileServiceClient
type CoreFileServiceServer ¶
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) GetFilepath ¶
func (*Corefile) ProtoMessage ¶
func (*Corefile) ProtoMessage()
func (*Corefile) ProtoReflect ¶
func (x *Corefile) ProtoReflect() protoreflect.Message
type UnimplementedCoreFileServiceServer ¶
type UnimplementedCoreFileServiceServer struct {
}
UnimplementedCoreFileServiceServer can be embedded to have forward compatible implementations.
Click to show internal directories.
Click to hide internal directories.