github.com/iron-io/functions@v0.0.0-20180820112432-d59d7d1c40b2/fn/langs/lambda_node.go (about) 1 package langs 2 3 type LambdaNodeHelper struct { 4 BaseHelper 5 } 6 7 func (lh *LambdaNodeHelper) Entrypoint() string { 8 return "" 9 } 10 11 func (lh *LambdaNodeHelper) Cmd() string { 12 return "func.handler" 13 } 14 15 func (lh *LambdaNodeHelper) HasPreBuild() bool { 16 return false 17 } 18 19 // PreBuild for Go builds the binary so the final image can be as small as possible 20 func (lh *LambdaNodeHelper) PreBuild() error { 21 return nil 22 } 23 24 func (lh *LambdaNodeHelper) AfterBuild() error { 25 return nil 26 }