Documentation ¶
Overview ¶
Package page is a generated protocol buffer package.
It is generated from these files:
protobuf/page/page.proto
It has these top-level messages:
PageResponse ItemListPageRequest
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterPageServiceServer ¶
func RegisterPageServiceServer(s *grpc.Server, srv PageServiceServer)
Types ¶
type ItemListPageRequest ¶
type ItemListPageRequest struct {
Item []*kudu_item.Item `protobuf:"bytes,1,rep,name=item" json:"item,omitempty"`
}
ItemListPageRequest holds list of item.
func (*ItemListPageRequest) Descriptor ¶
func (*ItemListPageRequest) Descriptor() ([]byte, []int)
func (*ItemListPageRequest) GetItem ¶
func (m *ItemListPageRequest) GetItem() []*kudu_item.Item
func (*ItemListPageRequest) ProtoMessage ¶
func (*ItemListPageRequest) ProtoMessage()
func (*ItemListPageRequest) Reset ¶
func (m *ItemListPageRequest) Reset()
func (*ItemListPageRequest) String ¶
func (m *ItemListPageRequest) String() string
type PageResponse ¶
type PageResponse struct { Html string `protobuf:"bytes,1,opt,name=html" json:"html,omitempty"` Timestamp *google_protobuf.Timestamp `protobuf:"bytes,2,opt,name=timestamp" json:"timestamp,omitempty"` }
PageResponse holds html content and response meta data.
func (*PageResponse) Descriptor ¶
func (*PageResponse) Descriptor() ([]byte, []int)
func (*PageResponse) GetHtml ¶
func (m *PageResponse) GetHtml() string
func (*PageResponse) GetTimestamp ¶
func (m *PageResponse) GetTimestamp() *google_protobuf.Timestamp
func (*PageResponse) ProtoMessage ¶
func (*PageResponse) ProtoMessage()
func (*PageResponse) Reset ¶
func (m *PageResponse) Reset()
func (*PageResponse) String ¶
func (m *PageResponse) String() string
type PageServiceClient ¶
type PageServiceClient interface {
ItemPageList(ctx context.Context, in *ItemListPageRequest, opts ...grpc.CallOption) (PageService_ItemPageListClient, error)
}
func NewPageServiceClient ¶
func NewPageServiceClient(cc *grpc.ClientConn) PageServiceClient
type PageServiceServer ¶
type PageServiceServer interface {
ItemPageList(*ItemListPageRequest, PageService_ItemPageListServer) error
}
type PageService_ItemPageListClient ¶
type PageService_ItemPageListClient interface { Recv() (*PageResponse, error) grpc.ClientStream }
type PageService_ItemPageListServer ¶
type PageService_ItemPageListServer interface { Send(*PageResponse) error grpc.ServerStream }
Click to show internal directories.
Click to hide internal directories.