handler

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JsonResponse

func JsonResponse(msg interface{})

Types

type LoginResponse

type LoginResponse struct {
	Users []struct {
		Token        string `json:"token"`
		ExpiresAfter string `json:"expires_after"`
	} `json:"users"`
	Meta Meta `json:"meta"`
}

type Meta

type Meta struct {
	Version   string `json:"version"`
	APIStatus string `json:"api_status"`
}

Jump to

Keyboard shortcuts

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