modules

package
v0.0.0-...-5abfebf Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRoutesFactory

func NewRoutesFactory() func(group *gin.RouterGroup)

NewRoutesFactory creates and returns a factory to create routes

Types

type GitConfigDto

type GitConfigDto struct {
	Repository string `json:"repository"`
	Branch     string `json:"branch"`
	Username   string `json:"username"`
}

GitConfigDto struct defines the git configuration structure

type ListResponseDto

type ListResponseDto struct {
	Data []ModuleResponseDto `json:"data"`
}

ListResponseDto struct defines books list response structure

type ModuleResponseDto

type ModuleResponseDto struct {
	ID        int               `json:"id"`
	Name      string            `json:"name"`
	Type      module.TypeModule `json:"type"`
	CreatedBy string            `json:"created_by"`
	UpdatedBy string            `json:"updated_by"`
	CreatedAt time.Time         `json:"created_at"`
	UpdatedAt time.Time         `json:"updated_at"`
}

Jump to

Keyboard shortcuts

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