Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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.