entities

package
v0.0.0-...-6b488ef Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 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 Comment

type Comment struct {
	Meta metaComment `json:"meta" bson:"meta"`
	// contains filtered or unexported fields
}

Comment struct contains the media comment field which should be returned in a response.

type MediaType

type MediaType struct {
	Meta struct {
		Type string `json:"type" bson:"type"`
	} `json:"meta" bson:"meta"`
}

MediaType defines the field which should be checked type Media.

type Post

type Post struct {
	Meta metaPost `json:"meta" bson:"meta"`
	// contains filtered or unexported fields
}

Post struct contains the media post field which should be returned in a response.

type ReplyComment

type ReplyComment struct {
	Meta metaReplyComment `json:"meta" bson:"meta"`
	// contains filtered or unexported fields
}

ReplyComment struct contains the media reply-comment field which should be returned in a response.

type RequestFindByListID

type RequestFindByListID struct {
	IDS []string `json:"ids" validate:"required,min=1,max=100" minLength:"1" maxLength:"100" example:"6929046813118876930,6929047870637441025"` // Request body `IDS` are array
}

RequestFindByListID defines the field which should be the request payload.

Jump to

Keyboard shortcuts

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