request

package
v0.0.0-...-074ff86 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(name, action, type_, call string) error

func Remove

func Remove(id int) error

func Updata

func Updata(id int, name, action, type_, call string) error

Types

type Model

type Model struct {
	models.Model
	Type   string `json:"type"`
	Name   string `json:"name"`
	Action string `json:"action"`
	Call   string `json:"call"`
}

func GetByAction

func GetByAction(action string) (model *Model, err error)

func GetLists

func GetLists(ids []int) ([]*Model, error)

func (Model) AuthIds

func (m Model) AuthIds() []int

Jump to

Keyboard shortcuts

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