dto

package
v0.0.0-...-61d2ec2 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArticleResponse

type ArticleResponse struct {
	ArticleInfo model.ArticleInfo
}

type ArticlesResponse

type ArticlesResponse struct {
	ArticleList []*model.ArticleHeader `json:"articleList"`
}

type ClimeLoader

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

func MakeClimeLoader

func MakeClimeLoader(claims map[string]interface{}) *ClimeLoader

func (*ClimeLoader) Load

func (c *ClimeLoader) Load(key string) string

type DetourInfo

type DetourInfo struct {
	ID          string  `json:"id"`
	Name        string  `json:"name"`
	Image       string  `json:"image"`
	Description string  `json:"description"`
	Latitude    float64 `json:"latitude"`
	Longitude   float64 `json:"longitude"`
}

type DetourResponse

type DetourResponse struct {
	Detour []DetourInfo `json:"detours"`
}

type LikeResponse

type LikeResponse struct {
	Nice int `json:"nice"`
}

type ListResponse

type ListResponse struct {
	Articles []*model.ArticleHeader
}

type LogResponse

type LogResponse struct {
	Info model.LogInfo
}

type LogsResponse

type LogsResponse struct {
	Data []*model.LogData
}

type MutationResponse

type MutationResponse struct {
	Status bool `json:"status"`
}

type SpotInfo

type SpotInfo struct {
	ID        string  `json:"id"`
	Name      string  `json:"name"`
	Latitude  float64 `json:"latitude"`
	Longitude float64 `json:"longitude"`
}

type SpotResponse

type SpotResponse struct {
	Spot SpotInfo `json:"spot"`
}

Jump to

Keyboard shortcuts

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