controller

package
v0.0.0-...-021e1c0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2022 License: BSD-2-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Base

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

func (*Base) GetParam

func (base *Base) GetParam(key string) (value interface{}, ok bool)

func (*Base) SetParam

func (base *Base) SetParam(key string, value interface{})

type Demo

type Demo struct {
	Base
}

func (*Demo) Get

func (demo *Demo) Get(w http.ResponseWriter, r *http.Request)

@postfilter("Boss")

func (*Demo) Set

func (demo *Demo) Set(w http.ResponseWriter, r *http.Request)

@prefilter("Login", {"Method":{"type":"post"}}) @postfilter("Boss")

type IBase

type IBase interface {
	SetParam(string, interface{})
	GetParam(string) (interface{}, bool)
}

Jump to

Keyboard shortcuts

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