From a606b64eecc22e62dba816a4637eacbb030f9781 Mon Sep 17 00:00:00 2001
From: Patrick <dreamlike.sky@foxmail.com>
Date: Wed, 1 Apr 2020 23:40:10 +0800
Subject: [PATCH] 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 60cac9afb..8bc32e87b 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()
 }
 
-- 
GitLab