handler

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2019 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(router *mux.Router)

Init - routes initialization

Types

type Handler

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

Handler hold all handler methods

func InitHandler

func InitHandler() *Handler

InitHandler Constructor

type Response

type Response struct {
	Error string      `json:"error,omitempty"`
	Data  interface{} `json:"data"`
}

Response - Standar ajax Response

Jump to

Keyboard shortcuts

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