Skip to content
Snippets Groups Projects
Commit 5e206192 authored by Patrick's avatar Patrick
Browse files

modify comments

parent 2084c209
No related branches found
No related tags found
No related merge requests found
......@@ -40,14 +40,15 @@ import (
const parseParameterErrorStr = "An error occurred while parsing parameters on the server"
// RestServer user can implement this server interface
type RestServer interface {
// start rest server
// Start rest server
Start(url common.URL)
// deploy a http api
// Deploy a http api
Deploy(restMethodConfig *rest_config.RestMethodConfig, routeFunc func(request RestServerRequest, response RestServerResponse))
// unDeploy a http api
// UnDeploy a http api
UnDeploy(restMethodConfig *rest_config.RestMethodConfig)
// destroy rest server
// Destroy rest server
Destroy()
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment