Documentation ¶
Index ¶
- Constants
- func GenerateImg(nama string, jabatan string, userid int64) (string, error)
- func Get(ctx *app.Ctx, query url.Values) (app.ListModel, error)
- func GetByID(ctx *app.Ctx, id string, query url.Values) (draftsurat.EsignDetail, error)
- func GetByIDHandler(c *fiber.Ctx) error
- func GetListHandler(c *fiber.Ctx) error
- func ProcessSign(ctx *app.Ctx, id string, param *ParamSign) error
- func ProcessSignByIDHandler(c *fiber.Ctx) error
- func TCon() (map[string]interface{}, error)
- func TConx(c *fiber.Ctx) error
- func TesGambar(c *fiber.Ctx) error
- type EsignList
- type LogEsign
- type ParamSign
Constants ¶
View Source
const EndPoint = "esign"
Variables ¶
This section is empty.
Functions ¶
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 ProcessSignByIDHandler ¶
func ProcessSignByIDHandler(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) SetRelation ¶
func (k *LogEsign) SetRelation()
func (LogEsign) TableAliasName ¶
func (LogEsign) TableVersion ¶
type ParamSign ¶
type ParamSign struct {
Passphrase db.NullString `json:"passphrase"`
}
Click to show internal directories.
Click to hide internal directories.