Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRestHandler ¶
func RegisterRestHandler(s server.Server, hdlr RestHandler, opts ...server.HandlerOption) error
Types ¶
type RestHandler ¶
type RestService ¶
type RestService interface {
Search(ctx context.Context, in *proto1.Request, opts ...client.CallOption) (*proto1.Response, error)
}
func NewRestService ¶
func NewRestService(name string, c client.Client) RestService
Click to show internal directories.
Click to hide internal directories.