Documentation ¶
Index ¶
- type AcceptFriendRequest
- type AddSubtitleRequest
- type AddSubtitlesRequest
- type CreateAuthTokenRequest
- type CreateMessageRequest
- type CreateUserRequest
- type InviteToTheaterRequest
- type MediaSourceRequest
- type NewMediaSourceRequest
- type OauthCallbackRequest
- type SearchUserRequest
- type UpdatePasswordRequest
- type UpdateTheaterRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcceptFriendRequest ¶
type AcceptFriendRequest struct {
RequestID string `validate:"required" form:"request_id"`
}
type AddSubtitleRequest ¶
type AddSubtitleRequest struct {
Lang string `validate:"required"`
}
type AddSubtitlesRequest ¶
type CreateAuthTokenRequest ¶
type CreateMessageRequest ¶
type CreateMessageRequest struct {
Content string `validate:"required" form:"content"`
}
type CreateUserRequest ¶
type CreateUserRequest struct { Fullname string `validate:"required" form:"username"` Password string `validate:"required" form:"password"` Username string `validate:"required" form:"username"` Email string `validate:"required,email" form:"email"` PasswordConfirmation string `validate:"required" form:"password_confirmation"` }
type InviteToTheaterRequest ¶
type InviteToTheaterRequest struct {
FriendIDs []string `json:"friend_ids" validate:"required,gt=0,dive,required"`
}
type MediaSourceRequest ¶
type MediaSourceRequest struct {
SourceID string `validate:"required"`
}
type NewMediaSourceRequest ¶
type NewMediaSourceRequest struct {
Source string `validate:"required,media_source_uri"`
}
type OauthCallbackRequest ¶
type OauthCallbackRequest struct {
Code string `validate:"required" form:"code"`
}
type SearchUserRequest ¶
type SearchUserRequest struct {
Keyword string `validate:"required" form:"keyword"`
}
type UpdatePasswordRequest ¶
type UpdateTheaterRequest ¶
type UpdateTheaterRequest struct { Description string `validate:"required_without_all=Privacy VideoPlayerAccess"` Privacy proto.PRIVACY `validate:"required_without_all=Description VideoPlayerAccess"` VideoPlayerAccess proto.VIDEO_PLAYER_ACCESS `validate:"required_without_all=Description Privacy"` }
Click to show internal directories.
Click to hide internal directories.