Documentation ¶
Index ¶
Constants ¶
View Source
const ( ResourceMenu = "sys.menu" ResourceDev = "dev" ResourceDevJaeger = "dev.jaeger" ResourceDevJob = "dev.jobs" )
View Source
const ServiceName = "sys"
Variables ¶
View Source
var GrpcProviderSet = wire.NewSet(NewGrpcConn, NewMenuGrpcClient)
Functions ¶
func NewMenuGrpcClient ¶
func NewMenuGrpcClient(conn GrpcConn) v1.MenuServiceServer
Types ¶
type GrpcConn ¶
type GrpcConn grpc.ClientConnInterface
func NewGrpcConn ¶
func NewGrpcConn(clientName api.ClientName, services *conf.Services, dis registry.Discovery, opt *api.Option, tokenMgr api.TokenManager, logger log.Logger, opts ...grpc2.ClientOption) (GrpcConn, func())
type HttpClient ¶
Click to show internal directories.
Click to hide internal directories.