api

package
v0.0.0-...-5894149 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CovidFileData

type CovidFileData struct {
	FileData *multipart.FileHeader `form:"file" binding:"required"`
}

type GetDataArgs

type GetDataArgs struct {
	PageID   int32 `form:"page_id" binding:"required,min=1"`
	PageSize int32 `form:"page_size" binding:"required,min=5,max=20"`
}

type Server

type Server struct {
	// contains filtered or unexported fields
}

func NewServer

func NewServer(distro worker.TaskDistributor, store db.TxStore) *Server

func (*Server) StartServer

func (srv *Server) StartServer(serverAddr string) error

Jump to

Keyboard shortcuts

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