webserver

package
v0.0.0-...-14fd0b5 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package webserver Created by RTT. Author: teocci@yandex.com on 2022-Apr-26

Package webserver Created by RTT. Author: teocci@yandex.com on 2021-Nov-03

Package webserver Created by RTT. Author: teocci@yandex.com on 2022-12월-24

Package webserver Created by Teocci. Author: teocci@yandex.com on 2023-3월-21

Package webserver Created by RTT. Author: teocci@yandex.com on 2022-Apr-27

Package webserver Created by RTT. Author: teocci@yandex.com on 2022-Apr-26

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CORSMiddleware

func CORSMiddleware() fiber.Handler

func GetLocalIp

func GetLocalIp() string

func Start

func Start()

Types

type LocalFileSystem

type LocalFileSystem struct {
	http.FileSystem
	// contains filtered or unexported fields
}

func (*LocalFileSystem) Exists

func (l *LocalFileSystem) Exists(prefix string, filepath string) bool

type PageInfo

type PageInfo struct {
	Name       string `json:"name"`
	Controller string `json:"controller"`
	Action     string `json:"action,omitempty"`
	Tab        string `json:"tab,omitempty"`
	SellerID   string `json:"seller_id,omitempty"`
	Limit      int    `json:"limit,omitempty"`
}

type ServeFileSystem

type ServeFileSystem interface {
	http.FileSystem
	Exists(prefix string, path string) bool
}

Directories

Path Synopsis
Package apicontroller Created by RTT.
Package apicontroller Created by RTT.

Jump to

Keyboard shortcuts

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