Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DispatcherStatus ¶ added in v1.5.0
type DispatcherStatus struct {
Name string `json:"name"`
ID string `json:"id"`
Procedures []Procedure `json:"procedures"`
Inbounds []xintrospection.InboundStatus `json:"inbounds"`
Outbounds []xintrospection.OutboundStatus `json:"outbounds"`
PackageVersions []PackageVersion `json:"packageVersions"`
}
DispatcherStatus represent detailed introspection information about a dispatcher.
type PackageVersion ¶ added in v1.5.0
PackageVersion represent a package and its version.
type Procedure ¶ added in v1.5.0
type Procedure struct {
Name string `json:"name"`
Encoding string `json:"encoding"`
Signature string `json:"signature"`
RPCType string `json:"rpcType"`
}
Procedure represent a registered procedure on a dispatcher.
func IntrospectProcedures ¶ added in v1.5.0
IntrospectProcedures is a convenience function that translate a slice of transport.Procedure to a slice of introspection.Procedure.
func (Procedure) ProcedureName ¶ added in v1.54.0
ProcedureName outputs a encoding-native procedure name.
Click to show internal directories.
Click to hide internal directories.