Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterWhoamiServiceWeb ¶
func RegisterWhoamiServiceWeb(this WhoamiServiceWeb, mux webrpc.ServeMux) error
Register a WhoamiServiceWeb implementation with the given webrpc ServeMux. If mux is nil, the default webrpc.ServeMux is used.
Types ¶
type Empty ¶
type Empty struct {
XXX_unrecognized []byte `json:"-"`
}
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
type WhoamiService ¶
WhoamiService is an interface satisfied by the generated client and which must be implemented by the object wrapped by the server.
func NewWhoamiServiceWebClient ¶
func NewWhoamiServiceWebClient(pro webrpc.Protocol, remote *url.URL) WhoamiService
NewWhoamiServiceWebClient returns a webrpc wrapper for calling the methods of WhoamiService remotely via the web. The remote URL is the base URL of the webrpc server.
type WhoamiServiceWeb ¶
WhoamiServiceWeb is the web-based RPC version of the interface which must be implemented by the object wrapped by the webrpc server.
Click to show internal directories.
Click to hide internal directories.