discovery

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Endpoint

type Endpoint struct {
	Method string
	Path   string
}

func (Endpoint) GetFiberPath

func (e Endpoint) GetFiberPath() string

Get the safe path to use in Fiber registration.

type MethodInfo

type MethodInfo struct {
	Name        string
	PackageName string
	Input       string
	Output      string
	Endpoints   []Endpoint
}

type ServiceInfo

type ServiceInfo struct {
	Name    string
	Methods []MethodInfo
}

func GetServiceInfos

func GetServiceInfos() ([]ServiceInfo, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL