Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientReflect ¶
type ClientReflect struct {
Conn *grpc.ClientConn
}
func NewClientReflect ¶
func NewClientReflect(c *grpc.ClientConn) *ClientReflect
NewClientReflect create new ClientReflect
func (*ClientReflect) ListServices ¶
func (cr *ClientReflect) ListServices() ([]string, error)
LisServices list all gRPC services
type ServerReflect ¶
type ServerReflect struct {
// contains filtered or unexported fields
}
func NewServerReflect ¶
func NewServerReflect(svr *grpc.Server) *ServerReflect
NewServerReflect create ServerReflect
func (*ServerReflect) ListServices ¶
func (sr *ServerReflect) ListServices() ([]string, error)
LisServices list all gRPC services
Click to show internal directories.
Click to hide internal directories.