Documentation ¶
Overview ¶
Package api is a generated protocol buffer package.
It is generated from these files:
github.com/micro/examples/form/api/proto/api.proto
It has these top-level messages:
Package api is a generated protocol buffer package.
It is generated from these files:
github.com/micro/examples/form/api/proto/api.proto
It has these top-level messages:
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterFormHandler ¶
func RegisterFormHandler(s server.Server, hdlr FormHandler, opts ...server.HandlerOption)
Types ¶
type FormClient ¶
type FormClient interface { // regular form Submit(ctx context.Context, in *go_api.Request, opts ...client.CallOption) (*go_api.Response, error) // multipart form Multipart(ctx context.Context, in *go_api.Request, opts ...client.CallOption) (*go_api.Response, error) }
func NewFormClient ¶
func NewFormClient(serviceName string, c client.Client) FormClient
Click to show internal directories.
Click to hide internal directories.