rungo

package module
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

README

Web Application

Create hello directory, cd hello directory

mkdir hello
cd hello

Init module

go mod init

Download and install

go get github.com/rachelos/rungo@latest

Create file hello.go

package main

import "github.com/rachelos/rungo/server/web"

func main() {
	web.Run()
}

Download required dependencies

go mod tidy

Build and run

go build hello.go
./hello

Go to http://localhost:8080

Documentation

Index

Constants

View Source
const (
	// VERSION represent rungo web framework version.
	VERSION = "2.0.0"
)

Variables

View Source
var (
	BuildVersion     string
	BuildGitRevision string
	BuildStatus      string
	BuildTag         string
	BuildTime        string

	GoVersion string

	GitBranch string
)

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
client
cache
Package cache provide a Cache interface and some implement engine Usage:
Package cache provide a Cache interface and some implement engine Usage:
cache/memcache
Package memcache for cache provider
Package memcache for cache provider
cache/redis
Package redis for cache provider
Package redis for cache provider
httplib
Package httplib is used as http.Client Usage:
Package httplib is used as http.Client Usage:
orm
Package orm provide ORM for MySQL/PostgreSQL/sqlite Simple Usage
Package orm provide ORM for MySQL/PostgreSQL/sqlite Simple Usage
orm/migration
Package migration enables you to generate migrations back and forth.
Package migration enables you to generate migrations back and forth.
core
admin
Package admin healthcheck
Package admin healthcheck
bean
Package bean is a basic package it should not depend on other modules except common module, log module and config module
Package bean is a basic package it should not depend on other modules except common module, log module and config module
config
Package config is used to parse config.
Package config is used to parse config.
config/env
Package env is used to parse environment.
Package env is used to parse environment.
config/xml
Package xml for config provider.
Package xml for config provider.
config/yaml
Package yaml for config provider Usage:
Package yaml for config provider Usage:
logs
Package logs provide a general log interface Usage:
Package logs provide a general log interface Usage:
logs/alils
Package alils implements the SDK(v0.5.0) of Simple Log Service(abbr.
Package alils implements the SDK(v0.5.0) of Simple Log Service(abbr.
utils/pagination
Package pagination provides utilities to setup a paginator within the context of a http request.
Package pagination provides utilities to setup a paginator within the context of a http request.
validation
Package validation for validations
Package validation for validations
server
web
Package rungo provide a MVC framework rungo: an open-source, high-performance, modular, full-stack web framework
Package rungo provide a MVC framework rungo: an open-source, high-performance, modular, full-stack web framework
web/captcha
Package captcha implements generation and verification of image CAPTCHAs.
Package captcha implements generation and verification of image CAPTCHAs.
web/context
Package context provide the context utils Usage:
Package context provide the context utils Usage:
web/filter/apiauth
Package apiauth provides handlers to enable apiauth support.
Package apiauth provides handlers to enable apiauth support.
web/filter/auth
Package auth provides handlers to enable basic auth support.
Package auth provides handlers to enable basic auth support.
web/filter/authz
Package authz provides handlers to enable ACL, RBAC, ABAC authorization support.
Package authz provides handlers to enable ACL, RBAC, ABAC authorization support.
web/filter/cors
Package cors provides handlers to enable CORS support.
Package cors provides handlers to enable CORS support.
web/grace
Package grace use to hot reload Description: http://grisha.org/blog/2014/06/03/graceful-restart-in-golang/
Package grace use to hot reload Description: http://grisha.org/blog/2014/06/03/graceful-restart-in-golang/
web/session
Package session provider
Package session provider
web/session/couchbase
Package couchbase for session provider
Package couchbase for session provider
web/session/ledis
Package ledis provide session Provider
Package ledis provide session Provider
web/session/memcache
Package memcache for session provider
Package memcache for session provider
web/session/mysql
Package mysql for session provider
Package mysql for session provider
web/session/postgres
Package postgres for session provider
Package postgres for session provider
web/session/redis
Package redis for session provider
Package redis for session provider
web/session/redis_cluster
Package redis for session provider
Package redis for session provider
web/session/redis_sentinel
Package redis for session provider
Package redis for session provider
web/swagger
Package swagger struct definition
Package swagger struct definition
x2j
Unmarshal dynamic / arbitrary XML docs and extract values (using wildcards, if necessary).
Unmarshal dynamic / arbitrary XML docs and extract values (using wildcards, if necessary).

Jump to

Keyboard shortcuts

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