Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterMovieServiceHandler ¶
func RegisterMovieServiceHandler(s server.Server, hdlr MovieServiceHandler, opts ...server.HandlerOption) error
Types ¶
type MovieService ¶
type MovieService interface { Sync(ctx context.Context, in *shared.SyncRequest, opts ...client.CallOption) (*shared.SyncResponse, error) Format(ctx context.Context, in *shared.SyncRequest, opts ...client.CallOption) (*shared.SyncResponse, error) }
func NewMovieService ¶
func NewMovieService(name string, c client.Client) MovieService
type MovieServiceHandler ¶
type MovieServiceHandler interface { Sync(context.Context, *shared.SyncRequest, *shared.SyncResponse) error Format(context.Context, *shared.SyncRequest, *shared.SyncResponse) error }
Click to show internal directories.
Click to hide internal directories.