kycstatus

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RxEmail = regexp.MustCompile("^[a-zA-Z0-9.!#$%&'*+\\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$")

RxEmail is a regex used to validate e-mail addresses, according with the reference https://www.alexedwards.net/blog/validation-snippets-for-go#email-validation. It's free to use under the [MIT Licence](https://opensource.org/licenses/MIT)

Functions

func NewKYCStatusPostResponse

func NewKYCStatusPostResponse() *kycPostResponse

Types

type DeleteHandler

type DeleteHandler struct {
	DB *sqlx.DB
}

func (DeleteHandler) ServeHTTP

func (h DeleteHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type GetDetailHandler

type GetDetailHandler struct {
	DB *sqlx.DB
}

func (GetDetailHandler) ServeHTTP

func (h GetDetailHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type PostHandler

type PostHandler struct {
	DB *sqlx.DB
}

func (PostHandler) ServeHTTP

func (h PostHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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