Back to / internal / introspection

Package introspection

Latest Go to latest

The latest major version is .

Published: 4 days ago | License: MIT | Module:


type DispatcherStatus

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

type PackageVersion struct {
	Name    string `json:"name"`
	Version string `json:"version"`

PackageVersion represent a package and its version.

type Procedure

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

func IntrospectProcedures(routerProcs []transport.Procedure) []Procedure

IntrospectProcedures is a convenience function that translate a slice of transport.Procedure to a slice of introspection.Procedure.

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier