Documentation ¶
Overview ¶
Copyright 2019-2020 Axetroy. All rights reserved. MIT license.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EncryptionRouter = router.Handler(func(c router.Context) { var ( err error input []byte res = schema.Response{} ) defer func() { if err != nil { res.Data = nil res.Message = err.Error() c.ResponseFunc(err, func() schema.Response { return res }) } else { c.ResponseFunc(err, func() schema.Response { return Encryption(helper.NewContext(&c), string(input)) }) } }() input, err = c.GetBody() })
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.