moves

package
v0.0.0-...-7fe3c21 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2016 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectionResource

func CollectionResource(w http.ResponseWriter, r *http.Request)

func GetCollection

func GetCollection(w http.ResponseWriter, r *http.Request)

func GetMember

func GetMember(w http.ResponseWriter, r *http.Request)

func MemberResource

func MemberResource(w http.ResponseWriter, r *http.Request)

Types

type Move

type Move struct {
	Name       string   `json:"name"`
	Number     int      `json:"number"`
	Type       string   `json:"type"`
	Category   string   `json:"category"`
	Contest    string   `json:"contest"`
	Pp         int      `json:"pp"`
	Power      int      `json:"power"`
	Accuracy   int      `json:"accuracy"`
	Generation string   `json:"generation"`
	Tm         []string `json:"tm"`
	Hm         []string `json:"hm"`
	Tutor      bool     `json:"tutor"`
}

func MemberDao

func MemberDao(name string) Move

func MemberService

func MemberService(name string) Move

type Moves

type Moves struct {
	Moves []Move `json:"moves"`
}

func CollectionDao

func CollectionDao() Moves

func CollectionService

func CollectionService() Moves

Jump to

Keyboard shortcuts

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