This is an automated email from the ASF dual-hosted git repository.

baze pushed a commit to branch 1.4
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git

commit 6540c8907da701dd1d7d4cf84a4de3dd6208ebbd
Author: Patrick <dreamlike....@foxmail.com>
AuthorDate: Wed Apr 1 23:40:10 2020 +0800

    modify comments
---
 protocol/rest/server/rest_server.go | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/protocol/rest/server/rest_server.go 
b/protocol/rest/server/rest_server.go
index 60cac9a..8bc32e8 100644
--- a/protocol/rest/server/rest_server.go
+++ b/protocol/rest/server/rest_server.go
@@ -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()
 }
 

Reply via email to