Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(impl Interface, opts ...thrift.RegisterOption) []transport.Registrant
New prepares an implementation of the SecondService service for registration.
handler := SecondServiceHandler{} dispatcher.Register(secondserviceserver.New(handler))
Types ¶
type Interface ¶
type Interface interface { BlahBlah( ctx context.Context, reqMeta yarpc.ReqMeta, ) (yarpc.ResMeta, error) SecondtestString( ctx context.Context, reqMeta yarpc.ReqMeta, Thing *string, ) (string, yarpc.ResMeta, error) }
Interface is the server-side interface for the SecondService service.
Click to show internal directories.
Click to hide internal directories.