From 761d4972702bc21e45bb55a770a71f6ddaa70f99 Mon Sep 17 00:00:00 2001 From: crusader Date: Tue, 17 Apr 2018 19:01:24 +0900 Subject: [PATCH] ing --- core/interfaces/Service.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/core/interfaces/Service.go b/core/interfaces/Service.go index 5a4e2e9..0572ba3 100644 --- a/core/interfaces/Service.go +++ b/core/interfaces/Service.go @@ -15,18 +15,18 @@ type Service interface { type ServiceMethodType int const ( - Init ServiceMethodType = iota - Start - Stop - Destroy + ServiceMethodInit ServiceMethodType = iota + ServiceMethodStart + ServiceMethodStop + ServiceMethodDestroy ) var ( serviceMethodTypeID = map[ServiceMethodType]string{ - Init: "Init", - Start: "Start", - Stop: "Stop", - Destroy: "Destroy", + ServiceMethodInit: "Init", + ServiceMethodStart: "Start", + ServiceMethodStop: "Stop", + ServiceMethodDestroy: "Destroy", } )