Documentation ¶
Index ¶
- Variables
- func FixURI(domain, bffName, sysName, implName, uri string) string
- func InjectAstTree(topNode *xast.TopNode) interface{}
- func InjectExtraNode(extraNode *xast.ExtraNode) interface{}
- func LoadErrCode(filename string) ([]struct{ ... }, error)
- func PacketRouter(bffName, implName, sysName string) string
- type BaseCmdServer
- type CmdServer
- type EmptyArg
- type EmptyReply
- type GenServerApiDocArg
- type GenServerAutomatedTestArg
- type GenServerCreateBffArg
- type GenServerCreateBffImplArg
- type GenServerCreateBffRouterArg
- type GenServerCreateServiceImplArg
- type GenServerCreeateSystemArg
- type GenServerJobArg
- type GenServerORMArg
- type GenServerServiceArg
- type GenerateServer
- func (s *GenerateServer) CreateBff(ctx context.Context, arg *GenServerCreateBffArg) (*EmptyReply, error)
- func (s *GenerateServer) CreateBffImpl(ctx context.Context, arg *GenServerCreateBffImplArg) (*EmptyReply, error)
- func (s *GenerateServer) CreateBffRouter(_ context.Context, arg *GenServerCreateBffRouterArg) (*EmptyReply, error)
- func (s *GenerateServer) CreateJob(ctx context.Context, arg *GenServerJobArg) (*EmptyReply, error)
- func (s *GenerateServer) CreateService(_ context.Context, arg *GenServerServiceArg) (*EmptyReply, error)
- func (s *GenerateServer) CreateServiceImpl(ctx context.Context, arg *GenServerCreateServiceImplArg) (*EmptyReply, error)
- func (s *GenerateServer) CreateSystem(ctx context.Context, arg *GenServerCreeateSystemArg) (*EmptyReply, error)
- func (s *GenerateServer) GenerateApiDoc(_ context.Context, arg *GenServerApiDocArg) (*EmptyReply, error)
- func (s *GenerateServer) GenerateAutomatedTest(ctx context.Context, arg *GenServerAutomatedTestArg) (_ *EmptyReply, err error)
- func (s *GenerateServer) ORM(ctx context.CancelFunc, reply *GenServerORMArg) (*EmptyReply, error)
- type OptsFunc
- type Server
Constants ¶
This section is empty.
Variables ¶
View Source
var NoReply = &EmptyReply{}
Functions ¶
func InjectAstTree ¶
func InjectExtraNode ¶
func LoadErrCode ¶
func PacketRouter ¶
Types ¶
type BaseCmdServer ¶
type BaseCmdServer struct {
GenerServer *GenerateServer
}
func NewBaseCmdServer ¶
func NewBaseCmdServer(opts ...OptsFunc) *BaseCmdServer
type EmptyReply ¶
type EmptyReply struct{}
type GenServerApiDocArg ¶
type GenServerCreateBffArg ¶
type GenServerJobArg ¶ added in v0.1.1
type GenServerORMArg ¶
type GenServerORMArg struct {
Table *converter.Table2Struct
}
type GenServerServiceArg ¶
type GenerateServer ¶
type GenerateServer struct {
// contains filtered or unexported fields
}
func NewGenerateServer ¶
func NewGenerateServer(sys *sysdes.SystemDes) *GenerateServer
func (*GenerateServer) CreateBff ¶
func (s *GenerateServer) CreateBff(ctx context.Context, arg *GenServerCreateBffArg) (*EmptyReply, error)
func (*GenerateServer) CreateBffImpl ¶
func (s *GenerateServer) CreateBffImpl(ctx context.Context, arg *GenServerCreateBffImplArg) (*EmptyReply, error)
func (*GenerateServer) CreateBffRouter ¶
func (s *GenerateServer) CreateBffRouter(_ context.Context, arg *GenServerCreateBffRouterArg) (*EmptyReply, error)
func (*GenerateServer) CreateJob ¶ added in v0.1.1
func (s *GenerateServer) CreateJob(ctx context.Context, arg *GenServerJobArg) (*EmptyReply, error)
func (*GenerateServer) CreateService ¶
func (s *GenerateServer) CreateService(_ context.Context, arg *GenServerServiceArg) (*EmptyReply, error)
func (*GenerateServer) CreateServiceImpl ¶
func (s *GenerateServer) CreateServiceImpl(ctx context.Context, arg *GenServerCreateServiceImplArg) (*EmptyReply, error)
func (*GenerateServer) CreateSystem ¶
func (s *GenerateServer) CreateSystem(ctx context.Context, arg *GenServerCreeateSystemArg) (*EmptyReply, error)
func (*GenerateServer) GenerateApiDoc ¶
func (s *GenerateServer) GenerateApiDoc(_ context.Context, arg *GenServerApiDocArg) (*EmptyReply, error)
func (*GenerateServer) GenerateAutomatedTest ¶
func (s *GenerateServer) GenerateAutomatedTest(ctx context.Context, arg *GenServerAutomatedTestArg) (_ *EmptyReply, err error)
func (*GenerateServer) ORM ¶
func (s *GenerateServer) ORM(ctx context.CancelFunc, reply *GenServerORMArg) (*EmptyReply, error)
type OptsFunc ¶
type OptsFunc func(*BaseCmdServer)
Click to show internal directories.
Click to hide internal directories.