requests

package
v0.0.0-...-56ee4c0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ViewerDraftKeyTitle            string = "title"
	ViewerDraftKeySummary          string = "summary"
	ViewerDraftKeySlug             string = "slug"
	ViewerDraftKeyType             string = "type"
	ViewerDraftKeyTags             string = "tags"
	ViewerDraftKeyStatus           string = "status"
	ViewerDraftKeyFeedbackLink     string = "feedbackLink"
	ViewerDraftKeyAuthor           string = "author"
	ViewerDraftKeyAuthorLDAP       string = "authorLDAP"
	ViewerDraftKeyAnalyticsAccount string = "analyticsAccount"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthProcessFirebaseAuthorizationRequest

type AuthProcessFirebaseAuthorizationRequest struct {
	AuthorizationToken string
}

type AuthProcessFirebaseAuthorizationResponse

type AuthProcessFirebaseAuthorizationResponse struct {
	UserId    string
	Email     string
	ExpiresAt time.Time
}

type AuthProcessOauth2CallbackRequest

type AuthProcessOauth2CallbackRequest struct {
	State       string
	Code        string
	UserSession *entities.UserSession
}

type AuthProcessOauth2CallbackResponse

type AuthProcessOauth2CallbackResponse struct {
	Name   string
	UserId string
	Token  string
}

type AuthProcessSessionRequest

type AuthProcessSessionRequest struct {
	UserSession *entities.UserSession
}

type AuthProcessSessionResponse

type AuthProcessSessionResponse struct {
	IsValid     bool
	State       string
	RedirectUrl string
}

type ViewerDraftRequest

type ViewerDraftRequest struct {
	MetaData map[string]string
}

func (*ViewerDraftRequest) ReplaceTextParams

func (e *ViewerDraftRequest) ReplaceTextParams() map[string]string

func (*ViewerDraftRequest) Title

func (e *ViewerDraftRequest) Title() string

func (*ViewerDraftRequest) Valid

func (e *ViewerDraftRequest) Valid() bool

type ViewerDraftResponse

type ViewerDraftResponse struct {
	FileId string
}

type ViewerMetaRequest

type ViewerMetaRequest struct {
	FileId   string
	Revision int
}

type ViewerMetaResponse

type ViewerMetaResponse struct {
	Meta *entities.Meta
}

type ViewerParseRequest

type ViewerParseRequest struct {
	FileId string
}

type ViewerParseResponse

type ViewerParseResponse struct {
	Response string
}

type ViewerPublishRequest

type ViewerPublishRequest struct {
	FileId string
}

type ViewerPublishResponse

type ViewerPublishResponse struct {
	Revision int
}

type ViewerViewRequest

type ViewerViewRequest struct {
	FileId   string
	Revision int
}

type ViewerViewResponse

type ViewerViewResponse struct {
	Response string
}

Jump to

Keyboard shortcuts

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