genreflectionserver

package
Version: v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PackageName

func PackageName(goImportPath string) string

Types

type Method

type Method struct {
	GoName                   string
	RequestTypeName          string
	ResponseTypeName         string
	RequestTypeGoImportPath  string
	ResponseTypeGoImportPath string
}

type ReflectionServerFile

type ReflectionServerFile struct {
	ServiceRegistry []Service
	GoImportPath    []string
}

func (*ReflectionServerFile) Content

func (r *ReflectionServerFile) Content() (string, error)

type Service

type Service struct {
	GoName       string
	Methods      []Method
	GoImportPath string
	Host         string
	FullName     string
}

func (Service) PackageName

func (s Service) PackageName() string

func (Service) StructName

func (s Service) StructName() string

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL