Movatterモバイル変換


[0]ホーム

URL:


protoconv

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:13Imported by:0

Details

Repository

github.com/grpc/grpc-go

Links

Documentation

Overview

Package protoconv supports converting between the internal channelzimplementation and the protobuf representation of all the entities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

funcGetChannel

func GetChannel(idint64) (*channelzpb.Channel,error)

GetChannel returns the protobuf representation of the channel with the givenID.

funcGetServer

func GetServer(idint64) (*channelzpb.Server,error)

GetServer returns the protobuf representation of the server with the givenID.

funcGetServerSockets

func GetServerSockets(serverID, startIDint64, lenint) (sockets []*channelzpb.SocketRef, endbool)

GetServerSockets returns the protobuf representation of the server (listen)sockets starting at startID (max of len), and returns end=true if no serversockets exist with higher IDs.

funcGetServers

func GetServers(startIDint64, lenint) (servers []*channelzpb.Server, endbool)

GetServers returns the protobuf representation of the servers starting atstartID (max of len), and returns end=true if no servers exist with higherIDs.

funcGetSocket

func GetSocket(idint64) (*channelzpb.Socket,error)

GetSocket returns the protobuf representation of the socket with the givenID.

funcGetSubChannel

func GetSubChannel(idint64) (*channelzpb.Subchannel,error)

GetSubChannel returns the protobuf representation of the subchannel with thegiven ID.

funcGetTopChannels

func GetTopChannels(startIDint64, lenint) (channels []*channelzpb.Channel, endbool)

GetTopChannels returns the protobuf representation of the channels startingat startID (max of len), and returns end=true if no top channels exist withhigher IDs.

Types

This section is empty.

Source Files

View all Source files

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