grpc

package
v0.10.20 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GRPC

func GRPC(m *model.Model, args *model.Args, addHeader bool) (file.Files, error)

Types

type FileArgs

type FileArgs struct {
	Class string
	Pkg   string
	CPkg  string
	API   string
	Grp   *model.Column
}

func GetGRPCFileArgs

func GetGRPCFileArgs(m *model.Model, args *model.Args) ([]*FileArgs, error)

func (FileArgs) APISuffix

func (a FileArgs) APISuffix() string

func (FileArgs) AddStaticCheck

func (a FileArgs) AddStaticCheck(ref string, ret *golang.Block, m *model.Model, grp *model.Column, act string)

func (FileArgs) GrpSuffix

func (a FileArgs) GrpSuffix() string

func (FileArgs) KeySuffix

func (a FileArgs) KeySuffix() string

Jump to

Keyboard shortcuts

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