srgen

package module
v0.0.0-...-d8694f3 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

README

srgen

srgen is a service registry generator for Go.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(files []string, outfile string) error

Types

type Import

type Import struct {
	Name  string
	Value string
	Using bool
}

func (*Import) DefaultName

func (i *Import) DefaultName() string

type Service

type Service struct {
	Name    string
	Methods []*ServiceMethod
}

type ServiceMethod

type ServiceMethod struct {
	Name    string
	Params  []string
	Results []string
}

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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