Documentation ¶
Overview ¶
muxgen generates code to easily call functions on the endpoint
type myEndpoint struct { // ... }
// go:generate muxgen -outtype []byte *myEndpoint async whoami // go:generate muxgen -args id:string *myEndpoint source getFeedStream // go:generate muxgen -args id:string *myEndpoint source blobs.get // go:generate muxgen -args id:string -outtype bool *myEndpoint aysnc blobs.has
Click to show internal directories.
Click to hide internal directories.