Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MainFuncRawBytesTmpl []byte
Functions ¶
Types ¶
type Context ¶
type Context struct {
// Name of the servcie
Name string
// ZipperAddrs is the addresses of the zipper server
ZipperAddrs []string
// Client credential
Credential string
}
Context defines context for the template
type JsServerless ¶
type JsServerless struct {
// contains filtered or unexported fields
}
JsServerless defines golang implementation of Serverless interface.
func (*JsServerless) Build ¶
func (s *JsServerless) Build(clean bool) error
Build compiles the serverless to executable
func (*JsServerless) Executable ¶
func (s *JsServerless) Executable() bool
func (*JsServerless) Init ¶
func (s *JsServerless) Init(opts *serverless.Options) error
Init initializes the serverless
func (*JsServerless) Run ¶
func (s *JsServerless) Run(verbose bool) error
Run compiles and runs the serverless
Click to show internal directories.
Click to hide internal directories.