Documentation ¶
Overview ¶
This is what protoc-gen-gopherjs should generate
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Book ¶
type Book struct { *js.Object Isbn int64 `js:"isbn"` Title string `js:"title"` Author string `js:"author"` }
func (*Book) Deserialize ¶
type BookServiceClient ¶
type BookServiceClient interface { GetBook(*GetBookRequest, ...grpcweb.CallOption) (*Book, error) QueryBooks(*QueryBooksRequest, ...grpcweb.CallOption) (BookService_QueryBooksClient, error) }
func NewBookServiceClient ¶
func NewBookServiceClient(hostname string) BookServiceClient
type GetBookRequest ¶
func NewGetBookRequest ¶
func NewGetBookRequest(isbn int64) *GetBookRequest
func (*GetBookRequest) Deserialize ¶
func (x *GetBookRequest) Deserialize(rawBytes []byte) (err error)
func (*GetBookRequest) Serialize ¶
func (x *GetBookRequest) Serialize() (rawBytes []byte, err error)
type QueryBooksRequest ¶
func NewQueryBooksRequest ¶
func NewQueryBooksRequest(authorPrefix string) *QueryBooksRequest
func (*QueryBooksRequest) Deserialize ¶
func (x *QueryBooksRequest) Deserialize(rawBytes []byte) (err error)
func (*QueryBooksRequest) Serialize ¶
func (x *QueryBooksRequest) Serialize() (rawBytes []byte, err error)
Click to show internal directories.
Click to hide internal directories.