account

package
v0.0.0-...-f5147e6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Config *Config
}

App home app

func New

func New(config *Config) *App

New new home app

func NewWithDefault

func NewWithDefault() *App

NewWithDefault New App With No Config

func (App) ConfigureAdmin

func (App) ConfigureAdmin(Admin *admin.Admin)

ConfigureAdmin configure admin interface

func (App) ConfigureApplication

func (app App) ConfigureApplication(application *application.Application)

ConfigureApplication configure application

type Config

type Config struct {
}

Config home config struct

type Controller

type Controller struct {
	View *render.Render
}

Controller products controller

func (Controller) AddCredit

func (ctrl Controller) AddCredit(w http.ResponseWriter, req *http.Request)

AddCredit add credit

func (Controller) Orders

func (ctrl Controller) Orders(w http.ResponseWriter, req *http.Request)

Orders orders page

func (Controller) Profile

func (ctrl Controller) Profile(w http.ResponseWriter, req *http.Request)

Profile profile show page

func (Controller) Update

func (ctrl Controller) Update(w http.ResponseWriter, req *http.Request)

Update update profile page

Jump to

Keyboard shortcuts

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