apiserver/

directory
v0.0.0-...-1f1c214 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: Apache-2.0

README

Welcome to IEC API Server

The IEC API server is built on Revel web framework. So the following information is inherited from Revel. We changed the default listening port of Revel from 9000 to 9131, which may be special for IEC use.

Welcome to Revel

A high-productivity web framework for the Go language.

Start the web server:
revel run apiserver prod
Go to http://localhost:9131/v1/iec/status and you'll see:
{"Status":"ok","Passed":true}

Code Layout

The directory structure of a generated Revel application:

conf/             Configuration directory
    app.conf      Main app configuration file
    routes        Routes definition file

app/              App sources
    init.go       Interceptor registration
    controllers/  App controllers go here
    views/        Templates directory

messages/         Message files

public/           Public static assets
    css/          CSS files
    js/           Javascript files
    images/       Image files

tests/            Test suites

Help

Directories

Path Synopsis
app
routes
GENERATED CODE - DO NOT EDIT This file provides a way of creating URL's based on all the actions found in all the controllers.
GENERATED CODE - DO NOT EDIT This file provides a way of creating URL's based on all the actions found in all the controllers.
tmp
GENERATED CODE - DO NOT EDIT This file is the main file for Revel.
GENERATED CODE - DO NOT EDIT This file is the main file for Revel.
tmp/run
GENERATED CODE - DO NOT EDIT This file is the run file for Revel.
GENERATED CODE - DO NOT EDIT This file is the run file for Revel.

Jump to

Keyboard shortcuts

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