app

package
v0.0.0-...-0e3b0c0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2020 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() (*chi.Mux, error)

Types

type API

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

func NewAPI

func NewAPI() (*API, error)

type FileRecieved

type FileRecieved struct {
	File string `json:"file_recieved"`
}

type RespStatusCode

type RespStatusCode struct {
	Code string `json:"file_recieved"`
}

type Response

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

type Server

type Server struct {
	*http.Server
}

Server provides an http.Server.

func NewServer

func NewServer() (*Server, error)

NewServer creates and configures an APIServer serving all application routes.

func (*Server) Start

func (srv *Server) Start()

Jump to

Keyboard shortcuts

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