server

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: May 28, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

@Description: just go @Author: skipper @Date: 2020/1/13 @Time: 5:08 PM @ProjectName fileUpdater

@Description: just go @Author: skipper @Date: 2020/1/13 @Time: 5:12 PM @ProjectName fileUpdater

@Description: just go @Author: skipper @Date: 2020/1/13 @Time: 5:12 PM @ProjectName fileUpdater

@Description: just go @Author: skipper @Date: 2020/1/13 @Time: 5:13 PM @ProjectName fileUpdater

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exec

func Exec(c *gin.Context)

func GetContent

func GetContent(c *gin.Context)

func GetUpdater

func GetUpdater(c *gin.Context)

func GetUpdaters

func GetUpdaters(c *gin.Context)

func Run

func Run(cfg core.ServerConfigs)

func UpdateFile

func UpdateFile(c *gin.Context)

Types

type Req

type Req struct {
	Name string `json:"name"`
}

type UpdateContentRequest

type UpdateContentRequest struct {
	Name    string `json:"name"`
	Content string `json:"content"`
}

Jump to

Keyboard shortcuts

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