internal_service

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2024 License: BSD-3-Clause Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitServiceHub

func InitServiceHub()

Types

type SerServer

type SerServer struct{}

func (SerServer) DeregisterServer

func (SerServer) DeregisterServer(stage *kk_stage.Stage, param *kk_etcd_models.DeregisterServerParam) error

func (SerServer) RegisterService

func (SerServer) RegisterService(stage *kk_stage.Stage, registration *kk_etcd_models.ServerRegistration) error

func (SerServer) ServerList

func (SerServer) ServerList(client *clientv3.Client, serverType kk_etcd_models.ServerType) (serverList *kk_etcd_models.PBListServer, err error)

ServerList serverName, should with prefix key_prefix.ServiceGrpc or key_prefix.ServiceHttp only give prefix to get all service list

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL