Documentation ¶
Overview ¶
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KVConfigSerializeWrapper ¶
type KVConfigSerializeWrapper struct {
ConfigTable map[string]map[string]string `json:"configTable"` // 数据格式:Namespace[Key[Value]]
}
KVConfigSerializeWrapper KV配置的json序列化结构 Author: tianyuliang Since: 2017/9/4
func NewKVConfigSerializeWrapper ¶
func NewKVConfigSerializeWrapper(configTable map[string]map[string]string) *KVConfigSerializeWrapper
NewKVConfigSerializeWrapper 初始化KV配置 Author: tianyuliang Since: 2017/9/4
type NameSrvController ¶
type NameSrvController struct {
// contains filtered or unexported fields
}
func NewNamesrvController ¶
func NewNamesrvController(cfg *config.Config) *NameSrvController
NewNamesrvController 初始化默认的NamesrvController Author: tianyuliang Since: 2017/9/12
func (*NameSrvController) Load ¶
func (controller *NameSrvController) Load() error
Load 加载NamesrvController必要的资源
func (*NameSrvController) Shutdown ¶
func (controller *NameSrvController) Shutdown()
Shutdown 关闭NamesrvController控制器 Author: tianyuliang Since: 2017/9/14
func (*NameSrvController) Start ¶
func (controller *NameSrvController) Start() error
Start 启动Namesrv控制服务 Author: tianyuliang Since: 2017/9/14