admins

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAdminHandler

func NewAdminHandler(config *config.V1Config, logger *zap.Logger, repo repos.IRepository) *handler

Types

type UpdatePostData added in v0.1.3

type UpdatePostData struct {
	Visible          bool                           `json:"visible"`
	Description      string                         `json:"description"`
	ShortDescription string                         `json:"short_description"`
	ClubRemark       *string                        `json:"club_remark"`
	ScheduleRemark   *string                        `json:"schedule_remark"`
	Contents         []models.ContentRequest        `json:"contents"`
	Links            []models.LinkRequest           `json:"links"`
	Schedules        []models.ScheduleRequest       `json:"schedules"`
	Achievements     []models.AchievementRequest    `json:"achievements"`
	Images           []models.ImageRequest          `json:"images"`
	Videos           []models.VideoRequest          `json:"videos"`
	ActivityDetails  []models.ActivityDetailRequest `json:"activity_details"`
}

type UpdateUserPostData added in v0.1.3

type UpdateUserPostData struct {
	Email    string  `json:"email"`
	Name     string  `json:"name"`
	ClubUUID *string `json:"club_uuid"`
}

Jump to

Keyboard shortcuts

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