wordpb

package
v0.0.0-...-465098b Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterWordSrvHandler

func RegisterWordSrvHandler(s server.Server, hdlr WordSrvHandler, opts ...server.HandlerOption) error

Types

type WordSrvHandler

type WordSrvHandler interface {
	ParserPaper(context.Context, *basepb.Request, *basepb.Response) error
	ParserQuestion(context.Context, *basepb.Request, *basepb.Response) error
}

type WordSrvService

type WordSrvService interface {
	ParserPaper(ctx context.Context, in *basepb.Request, opts ...client.CallOption) (*basepb.Response, error)
	ParserQuestion(ctx context.Context, in *basepb.Request, opts ...client.CallOption) (*basepb.Response, error)
}

func NewWordSrvService

func NewWordSrvService(name string, c client.Client) WordSrvService

Jump to

Keyboard shortcuts

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