DogControllers

package
v0.0.0-...-8acd32f Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBreedList

func GetBreedList() gin.HandlerFunc

func GetDogsByBreed

func GetDogsByBreed() gin.HandlerFunc

func GetProfilePic

func GetProfilePic() gin.HandlerFunc

func GetRandomDogs

func GetRandomDogs() gin.HandlerFunc

Types

type Breed

type Breed struct {
	Name string `json:"name" bson:"name"`
	Path string `json:"path" bson:"path"`
}

type BreedList

type BreedList struct {
	List []Breed `json:"list" bson:"list"`
}

type DogsAPI

type DogsAPI struct {
	Message []string `json:"message"`
	Status  string   `json:"status"`
}

Jump to

Keyboard shortcuts

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