feat: 完成连接测试和新建s3连接函数
This commit is contained in:
@ -20,6 +20,10 @@ func NewCtx(ctx context.Context, req *json.Decoder, res io.Writer) *Ctx {
|
||||
}
|
||||
}
|
||||
|
||||
func (c *Ctx) Context() context.Context {
|
||||
return c.ctx
|
||||
}
|
||||
|
||||
func (c *Ctx) Write(bs []byte) (int, error) {
|
||||
return c.res.Write(bs)
|
||||
}
|
||||
|
Reference in New Issue
Block a user