api

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2022 License: Apache-2.0, MIT Imports: 12 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ResourceMenu = "sys.menu"
	ResourceDev  = "dev"

	ResourceDevJaeger = "dev.jaeger"

	ResourceDevJob = "dev.jobs"
)
View Source
const ServiceName = "sys"

Variables

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

type HttpClient *http.Client

Directories

Path Synopsis
menu
v1

Jump to

Keyboard shortcuts

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