Movatterモバイル変換


[0]ホーム

URL:


admin

package
v1.77.0Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2025 License:Apache-2.0Imports:3Imported by:63

Details

Repository

github.com/grpc/grpc-go

Links

Documentation

Overview

Package admin provides a convenient method for registering a collection ofadministration services to a gRPC server. The services registered are:

- Channelz:https://github.com/grpc/proposal/blob/master/A14-channelz.md

- CSDS:https://github.com/grpc/proposal/blob/master/A40-csds-support.md

Experimental

Notice: All APIs in this package are experimental and may be removed in alater release.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

funcRegister

func Register(sgrpc.ServiceRegistrar) (cleanup func(), _error)

Register registers the set of admin services to the given server.

The returned cleanup function should be called to clean up the resourcesallocated for the service handlers after the server is stopped.

Note that if `s` is not a *grpc.Server or a *xds.GRPCServer, CSDS will not beregistered because CSDS generated code is old and doesn't support interface`grpc.ServiceRegistrar`.https://github.com/envoyproxy/go-control-plane/issues/403

Types

This section is empty.

Source Files

View all Source files

Directories

PathSynopsis
Package test contains test only functions for package admin.
Package test contains test only functions for package admin.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp