model

package
v0.0.0-...-070f6d9 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiResponse

type ApiResponse struct {
	TraceUUID string          `json:"trace_uuid"`
	Metadata  string          `json:"metadata"`
	Timestamp string          `json:"timestamp"`
	Payload   json.RawMessage `json:"payload"`
}

func (*ApiResponse) StdErr

func (ar *ApiResponse) StdErr(err error) []byte

type Permission

type Permission struct {
	Email      string `json:"email"`
	Permission string `json:"permission"`
}

type RespHeartbeat

type RespHeartbeat struct {
	Status string `json:"status"`
}

type Route

type Route struct {
	Action   string          `json:"action"`
	Egress   string          `json:"egress"`
	Egresses []string        `json:"egresses"`
	File     string          `json:"file"`
	Ingress  string          `json:"ingress"`
	Logic    string          `json:"logic"`
	Macros   []string        `json:"macros"`
	Payload  json.RawMessage `json:"payload"`
}

type RouteConfig

type RouteConfig struct {
	Routes []Route `json:"routes"`
}

type User

type User struct {
	Email     string `json:"email"`
	Firstname string `json:"firstname"`
	Lastname  string `json:"lastname"`
	Password  string `json:"password"`
}

Jump to

Keyboard shortcuts

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