Documentation ¶
Index ¶
- func Call(method, data string) error
- func Connect(address string) error
- func DescribeMethod(method string) (string, error)
- func Free()
- func Methods() ([]string, error)
- func NonambiguousMethods() ([]string, error)
- func Services() ([]string, error)
- func ServicesMethodsOutput() (string, error)
- type GrpcXEventHandler
- func (h *GrpcXEventHandler) OnReceiveHeaders(md metadata.MD)
- func (h *GrpcXEventHandler) OnReceiveResponse(resp proto.Message)
- func (h *GrpcXEventHandler) OnReceiveTrailers(stat *status.Status, md metadata.MD)
- func (h *GrpcXEventHandler) OnResolveMethod(md *desc.MethodDescriptor)
- func (h *GrpcXEventHandler) OnSendHeaders(md metadata.MD)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DescribeMethod ¶
func NonambiguousMethods ¶ added in v0.1.0
func ServicesMethodsOutput ¶
Types ¶
type GrpcXEventHandler ¶
type GrpcXEventHandler struct {
grpcurl.DefaultEventHandler
}
func (*GrpcXEventHandler) OnReceiveHeaders ¶
func (h *GrpcXEventHandler) OnReceiveHeaders(md metadata.MD)
func (*GrpcXEventHandler) OnReceiveResponse ¶
func (h *GrpcXEventHandler) OnReceiveResponse(resp proto.Message)
func (*GrpcXEventHandler) OnReceiveTrailers ¶
func (h *GrpcXEventHandler) OnReceiveTrailers(stat *status.Status, md metadata.MD)
func (*GrpcXEventHandler) OnResolveMethod ¶
func (h *GrpcXEventHandler) OnResolveMethod(md *desc.MethodDescriptor)
func (*GrpcXEventHandler) OnSendHeaders ¶
func (h *GrpcXEventHandler) OnSendHeaders(md metadata.MD)
Click to show internal directories.
Click to hide internal directories.