esign

package
v0.0.0-...-db28b0c Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: Unlicense Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const EndPoint = "esign"

Variables

This section is empty.

Functions

func GenerateImg

func GenerateImg(nama string, jabatan string, userid int64) (string, error)

func Get

func Get(ctx *app.Ctx, query url.Values) (app.ListModel, error)

func GetByID

func GetByID(ctx *app.Ctx, id string, query url.Values) (draftsurat.EsignDetail, error)

func GetByIDHandler

func GetByIDHandler(c *fiber.Ctx) error

func GetListHandler

func GetListHandler(c *fiber.Ctx) error

func ProcessSign

func ProcessSign(ctx *app.Ctx, id string, param *ParamSign) error

func ProcessSignByIDHandler

func ProcessSignByIDHandler(c *fiber.Ctx) error

func TCon

func TCon() (map[string]interface{}, error)

func TConx

func TConx(c *fiber.Ctx) error

func TesGambar

func TesGambar(c *fiber.Ctx) error

Types

type EsignList

type EsignList struct {
	app.ListModel
	Results []draftsurat.EsignDetail `json:"results"`
}

type LogEsign

type LogEsign struct {
	LogId        db.NullInt64    `json:"id"         db:"log.log_id"         gorm:"column:log_id;PrimaryKey;autoIncrement"`
	LogCreatedAt db.NullDateTime `json:"created_at" db:"log.log_created_at" gorm:"column:log_created_at"`
	LogDetail    db.NullText     `json:"detail"     db:"log.log_detail"     gorm:"column:log_detail"`
	LogUserId    db.NullInt64    `json:"user_id"    db:"log.log_user_id"    gorm:"column:log_user_id"`
	LogNik       db.NullString   `json:"nik"        db:"log.log_nik"        gorm:"column:log_nik"`
}

func (*LogEsign) SetFilter

func (k *LogEsign) SetFilter()

func (*LogEsign) SetRelation

func (k *LogEsign) SetRelation()

func (*LogEsign) SetSort

func (k *LogEsign) SetSort()

func (LogEsign) TableAliasName

func (LogEsign) TableAliasName() string

func (LogEsign) TableName

func (LogEsign) TableName() string

func (LogEsign) TableVersion

func (LogEsign) TableVersion() string

type ParamSign

type ParamSign struct {
	Passphrase db.NullString `json:"passphrase"`
}

Jump to

Keyboard shortcuts

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