signature

package
v0.5.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2020 License: MIT Imports: 6 Imported by: 0

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

func Encryption

func Encryption(c helper.Context, input string) (res schema.Response)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL