model

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 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 AuthResponse

type AuthResponse struct {
	JwtToken   string    `json:"jwtToken"`
	ExpirateAt time.Time `json:"expirateAt"`
}

type EntitiesDraft

type EntitiesDraft struct {
	Tags  []string            `json:"tags"`
	Media []*MediaEntityDraft `json:"media"`
	Urls  []*URLEntityDraft   `json:"urls"`
}

type EventDraft

type EventDraft struct {
	Title    string         `json:"title"`
	Message  string         `json:"message"`
	Actor    *PersonDraft   `json:"actor"`
	Kind     *string        `json:"kind"`
	ShareURL *string        `json:"shareURL"`
	Entities *EntitiesDraft `json:"entities"`
}

type EventStreamFilter

type EventStreamFilter struct {
	Sources []string `json:"sources"`
}

type MediaEntityDraft

type MediaEntityDraft struct {
	URL  string `json:"url"`
	Type string `json:"type"`
}

type PersonDraft

type PersonDraft struct {
	Name     string  `json:"name"`
	Photo    *string `json:"photo"`
	Username *string `json:"username"`
}

type URLEntityDraft

type URLEntityDraft struct {
	URL        string `json:"url"`
	DisplayURL string `json:"displayURL"`
}

Jump to

Keyboard shortcuts

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