api

package
v0.0.0-...-d7d4cfc Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2019 License: Apache-2.0 Imports: 21 Imported by: 1

Documentation

Index

Constants

View Source
const (
	CargoMigrate = `` /* 299-byte string literal not displayed */

)
View Source
const (
	SqlMigrate = `` /* 140-byte string literal not displayed */

)

Variables

This section is empty.

Functions

func DeleteCargo

func DeleteCargo() echo.HandlerFunc

func Download

func Download(c echo.Context) (err error)

func GetCargoSql

func GetCargoSql() echo.HandlerFunc

func GetCargos

func GetCargos() echo.HandlerFunc

func Login

func Login() echo.HandlerFunc

func Logout

func Logout() echo.HandlerFunc

func PostCargo

func PostCargo() echo.HandlerFunc

func PutCargo

func PutCargo() echo.HandlerFunc

func Upload

func Upload(c echo.Context) (err error)

Types

type Cargo

type Cargo struct {
	Id          *int64  `json:"id"`
	Serial      *string `json:"serial"`
	Factory     *string `json:"factory"`
	Date        *string `json:"date"`
	Batch       *string `json:"batch"`
	Carrier     *string `json:"carrier"`
	ColdVan     *string `json:"cold_van"`
	Distributor *string `json:"distributor"`
	Hospital    *string `json:"hospital"`
	Patient     *string `json:"patient"`
	AttachUri   *string `json:"attach_uri"`
	AttachSum   *string `json:"attach_sum"`
}

type H

type H map[string]interface{}

type SqlRecord

type SqlRecord struct {
	Id      *int64  `json:"id"`
	SQL     *string `json:"sql"`
	CargoId *int64  `json:"cargo_id"`
	Hash    *string `json:"hash"`
	User    *string `json:"user"`
}

Jump to

Keyboard shortcuts

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