Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteResult ¶
func WriteResult(w http.ResponseWriter, status int, data []byte)
Types ¶
type IClient ¶
type IClient interface { List(profession string) (data []byte, code int, err error) Get(profession string, name string) (data []byte, code int, err error) Create(profession string, body []byte) (data []byte, code int, err error) Delete(profession string, name string) (data []byte, code int, err error) Update(profession string, name string, body []byte) (data []byte, code int, err error) Patch(profession string, name string, body []byte) (data []byte, code int, err error) PatchPath(profession string, name string, path string, body []byte) (data []byte, code int, err error) Render(profession string, driver string) (data []byte, code int, err error) Drivers(profession string) (data []byte, code int, err error) Extenders() (data []byte, code int, err error) Extender(group string, project string, name string) (data []byte, code int, err error) Skill(profession string, skill string) (data []byte, code int, err error) }
Click to show internal directories.
Click to hide internal directories.