genrpc

package
v0.29.1 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: MIT Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JzeroProtoApiMiddleware

type JzeroProtoApiMiddleware struct {
	Name   string
	Routes []string
}

type JzeroRpc

type JzeroRpc struct {
	Wd     string
	Module string
	config.GenConfig

	ProtoFiles          []string
	GenCodeProtoFiles   []string
	ProtoSpecMap        map[string]rpcparser.Proto
	GenCodeProtoSpecMap map[string]rpcparser.Proto
}

func (*JzeroRpc) Gen

func (jr *JzeroRpc) Gen() error

func (*JzeroRpc) GetAllLogicFiles

func (jr *JzeroRpc) GetAllLogicFiles(descFilepath string, protoSpec rpcparser.Proto) ([]genapi.LogicFile, error)

func (*JzeroRpc) GetAllServerFiles

func (jr *JzeroRpc) GetAllServerFiles(descFilepath string, protoSpec rpcparser.Proto) ([]ServerFile, error)

type ServerFile

type ServerFile struct {
	DescFilepath string
	Path         string
	Service      string
}

Jump to

Keyboard shortcuts

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