model

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 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 FlagEval

type FlagEval struct {
	Value interface{} `json:"value"`
}

type HealthResponse

type HealthResponse struct {
	Initialized bool `json:"initialized"`
}

HealthResponse is the object returned by the health API

type InfoResponse

type InfoResponse struct {
	LatestCacheRefresh time.Time `json:"cacheRefresh"`
}

InfoResponse is the object returned by the info API

type RelayProxyRequest

type RelayProxyRequest struct {
	User         *UserRequest `json:"user" xml:"user" form:"user" query:"user"`
	DefaultValue interface{}  `json:"defaultValue" xml:"defaultValue" form:"defaultValue" query:"defaultValue"`
}

type UserRequest

type UserRequest struct {
	// Key is the identifier of the UserRequest.
	Key string `json:"key" xml:"key" form:"key" query:"key"`

	// Anonymous set if this is a logged-in user or not.
	Anonymous bool `json:"anonymous" xml:"anonymous" form:"anonymous" query:"anonymous"`

	// Custom is a map containing all extra information for this user.
	Custom map[string]interface{} `json:"custom" xml:"custom" form:"custom" query:"custom"`
}

Jump to

Keyboard shortcuts

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