helpers

package
v0.0.0-...-f416cf0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2022 License: CC0-1.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DBCreate

func DBCreate()

DB bağlantısı kurulup tablo kontrolleri yapılıyor.

func Decrypt

func Decrypt(data []byte) ([]byte, error)

func Encrypt

func Encrypt(data []byte) []byte

func IsAuthorized

func IsAuthorized(endpoint func(http.ResponseWriter, *http.Request)) http.Handler

api authorized function

func IsEmpty

func IsEmpty(value string) bool

String değer boş mu?

func Respond

func Respond(w http.ResponseWriter, status int, data []byte)

Response yollamak için dinamik fonksiyon

func SendMail

func SendMail(to, subject, content string) error

func SetEnv

func SetEnv()

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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