Documentation
¶
Index ¶
- Variables
- func RegisterNexivilServer(s grpc.ServiceRegistrar, srv NexivilServer)
- type ContentRequest
- type ContentResponse
- func (*ContentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ContentResponse) GetContent() string
- func (x *ContentResponse) GetDate() string
- func (x *ContentResponse) GetId() string
- func (x *ContentResponse) GetProjectName() string
- func (*ContentResponse) ProtoMessage()
- func (x *ContentResponse) ProtoReflect() protoreflect.Message
- func (x *ContentResponse) Reset()
- func (x *ContentResponse) String() string
- type NexivilClient
- type NexivilServer
- type Nexivil_NexivilContentClient
- type Nexivil_NexivilContentServer
- type UnimplementedNexivilServer
- type UnsafeNexivilServer
Constants ¶
This section is empty.
Variables ¶
var File_content_proto protoreflect.FileDescriptor
var Nexivil_ServiceDesc = grpc.ServiceDesc{ ServiceName: "contents.Nexivil", HandlerType: (*NexivilServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "NexivilContent", Handler: _Nexivil_NexivilContent_Handler, ServerStreams: true, }, }, Metadata: "content.proto", }
Nexivil_ServiceDesc is the grpc.ServiceDesc for Nexivil service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterNexivilServer ¶
func RegisterNexivilServer(s grpc.ServiceRegistrar, srv NexivilServer)
Types ¶
type ContentRequest ¶
type ContentRequest struct { ProjectName string `protobuf:"bytes,1,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"` // contains filtered or unexported fields }
func (*ContentRequest) Descriptor
deprecated
func (*ContentRequest) Descriptor() ([]byte, []int)
Deprecated: Use ContentRequest.ProtoReflect.Descriptor instead.
func (*ContentRequest) GetProjectName ¶
func (x *ContentRequest) GetProjectName() string
func (*ContentRequest) ProtoMessage ¶
func (*ContentRequest) ProtoMessage()
func (*ContentRequest) ProtoReflect ¶
func (x *ContentRequest) ProtoReflect() protoreflect.Message
func (*ContentRequest) Reset ¶
func (x *ContentRequest) Reset()
func (*ContentRequest) String ¶
func (x *ContentRequest) String() string
type ContentResponse ¶
type ContentResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Date string `protobuf:"bytes,2,opt,name=date,proto3" json:"date,omitempty"` ProjectName string `protobuf:"bytes,3,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"` Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*ContentResponse) Descriptor
deprecated
func (*ContentResponse) Descriptor() ([]byte, []int)
Deprecated: Use ContentResponse.ProtoReflect.Descriptor instead.
func (*ContentResponse) GetContent ¶
func (x *ContentResponse) GetContent() string
func (*ContentResponse) GetDate ¶
func (x *ContentResponse) GetDate() string
func (*ContentResponse) GetId ¶
func (x *ContentResponse) GetId() string
func (*ContentResponse) GetProjectName ¶
func (x *ContentResponse) GetProjectName() string
func (*ContentResponse) ProtoMessage ¶
func (*ContentResponse) ProtoMessage()
func (*ContentResponse) ProtoReflect ¶
func (x *ContentResponse) ProtoReflect() protoreflect.Message
func (*ContentResponse) Reset ¶
func (x *ContentResponse) Reset()
func (*ContentResponse) String ¶
func (x *ContentResponse) String() string
type NexivilClient ¶
type NexivilClient interface {
NexivilContent(ctx context.Context, in *ContentRequest, opts ...grpc.CallOption) (Nexivil_NexivilContentClient, error)
}
NexivilClient is the client API for Nexivil service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewNexivilClient ¶
func NewNexivilClient(cc grpc.ClientConnInterface) NexivilClient
type NexivilServer ¶
type NexivilServer interface { NexivilContent(*ContentRequest, Nexivil_NexivilContentServer) error // contains filtered or unexported methods }
NexivilServer is the server API for Nexivil service. All implementations must embed UnimplementedNexivilServer for forward compatibility
type Nexivil_NexivilContentClient ¶
type Nexivil_NexivilContentClient interface { Recv() (*ContentResponse, error) grpc.ClientStream }
type Nexivil_NexivilContentServer ¶
type Nexivil_NexivilContentServer interface { Send(*ContentResponse) error grpc.ServerStream }
type UnimplementedNexivilServer ¶
type UnimplementedNexivilServer struct { }
UnimplementedNexivilServer must be embedded to have forward compatible implementations.
func (UnimplementedNexivilServer) NexivilContent ¶
func (UnimplementedNexivilServer) NexivilContent(*ContentRequest, Nexivil_NexivilContentServer) error
type UnsafeNexivilServer ¶
type UnsafeNexivilServer interface {
// contains filtered or unexported methods
}
UnsafeNexivilServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NexivilServer will result in compilation errors.