models

package
v0.0.0-...-b5a1bf7 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2016 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 CheckRequest

type CheckRequest struct {
	Source  Source  `json:"source"`
	Version Version `json:"version"`
}

type InRequest

type InRequest struct {
	Source  Source          `json:"source"`
	Version Version         `json:"version"`
	Params  json.RawMessage `json:"params"`
}

type InResponse

type InResponse struct {
	Version  Version        `json:"version"`
	MetaData []KeyValuePair `json:"metadata"`
}

type KeyValuePair

type KeyValuePair struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

type OutRequest

type OutRequest struct {
	Source Source          `json:"source"`
	Params json.RawMessage `json:"params"`
}

type OutResponse

type OutResponse struct {
	Version Version `json:"version"`
}

type Source

type Source struct {
	Provider    string          `json:"provider"`
	CalendarId  string          `json:"calendar_id"`
	EventName   string          `json:"event_name"`
	Credentials json.RawMessage `json:"credentials"`
}

type Version

type Version struct {
	Id string `json:"id"`
}

Jump to

Keyboard shortcuts

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