Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAPIName ¶
GetAPIName returns titled service name (first uppercase letter) and all occurences of '/._-\s' removed and next to them character uppercased.
Types ¶
type AdapterHandler ¶
type AdapterHandler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(hm *gorpc.HandlersManager) *AdapterHandler
func (*AdapterHandler) ServeHTTP ¶
func (h *AdapterHandler) ServeHTTP(w http.ResponseWriter, req *http.Request)
type HttpJsonLibGenerator ¶
type HttpJsonLibGenerator struct {
// contains filtered or unexported fields
}
func NewHttpJsonLibGenerator ¶
func NewHttpJsonLibGenerator(hm *gorpc.HandlersManager, packageName, serviceName string) *HttpJsonLibGenerator
func (*HttpJsonLibGenerator) Generate ¶
func (g *HttpJsonLibGenerator) Generate() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.