app

package
v0.0.0-...-70c8d4d Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartApp

func StartApp()

Start starts the web server

Types

type Account

type Account struct {
	CustomerId  string `json:"customer_id"`
	OpeningDate string
	AccountType string
	Balance     float64
	Status      string
}

type AccountHandlers

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

func (*AccountHandlers) AddNewAccount

func (ah *AccountHandlers) AddNewAccount(w http.ResponseWriter, r *http.Request)

type AuthorizationMiddleware

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

type Customer

type Customer struct {
	Name    string `json:"full_name" xml:"full_name"`
	City    string `json:"city" xml:"city"`
	Pincode string `json:"pincode" xml:"pincode"`
}

type CustomerHandlers

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

type QoD

type QoD struct {
	Success struct {
		Total int `json:"total"`
	} `json:"success"`
	Contents struct {
		Quotes []struct {
			Quote  string `json:"quote"`
			Length string `json:"length"`
			Author string `json:"author"`
			Tags   struct {
				Num0 string `json:"0"`
				Num1 string `json:"1"`
				Num2 string `json:"2"`
				Num3 string `json:"3"`
				Num5 string `json:"5"`
			} `json:"tags"`
			Category   string `json:"category"`
			Language   string `json:"language"`
			Date       string `json:"date"`
			Permalink  string `json:"permalink"`
			ID         string `json:"id"`
			Background string `json:"background"`
			Title      string `json:"title"`
		} `json:"quotes"`
	} `json:"contents"`
	Baseurl   string `json:"baseurl"`
	Copyright struct {
		Year int    `json:"year"`
		URL  string `json:"url"`
	} `json:"copyright"`
}

type QoDHandler

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

func (*QoDHandler) GetQoD

func (qh *QoDHandler) GetQoD(w http.ResponseWriter, r *http.Request)

type Quote

type Quote struct {
	Author     string
	Quote      string
	Tags       []string
	Id         string
	Background string
	Length     string
	Category   string
	Language   string
	Date       string
	Permalink  string
	Title      string
}

type TransactionHandlers

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

func (TransactionHandlers) Withdraw

func (th TransactionHandlers) Withdraw(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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