github.com/clubpay/ronykit/kit@v0.14.4-0.20240515065620-d0dace45cbc7/export_test.go (about) 1 package kit 2 3 var ( 4 NewEnvelope = newEnvelope 5 NewContext = newContext 6 ) 7 8 func (ctx *Context) SetConn(c Conn) { 9 ctx.conn = c 10 ctx.in = newEnvelope(ctx, c, false) 11 } 12 13 func (ctx *Context) Exec(arg ExecuteArg, c Contract) { 14 ctx.execute(arg, c) 15 }