gf

package module
v1.5.14 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2019 License: MIT Imports: 0 Imported by: 14

README

GoFrame

Go Doc Build Status Go Report Code Coverage License Language Release

GF(GoFrame) is a modular, loose-coupled, production-ready and most-powerful application development framework of golang. Providing a series of core components and dozens of practical modules, such as: memcache, configure, validator, logging, array/queue/set/map containers, timer/timing tasks, file/memory lock, object pool, database ORM, etc. Supporting web server integrated with router, cookie, session, logger, template, https, hooks, rewrites and many more features.

Installation

go get -u github.com/gogf/gf

or use go.mod:

require github.com/gogf/gf latest

Limitation

golang version >= 1.9.2

Documentation

Architecture

Quick Start

package main

import (
    "github.com/gogf/gf/g"
    "github.com/gogf/gf/g/net/ghttp"
)

func main() {
    s := g.Server()
    s.BindHandler("/", func(r *ghttp.Request) {
        r.Response.Write("Hello World")
    })
    s.Run()
}

View More..

License

GF is licensed under the MIT License, 100% free and open-source, forever.

Contributors(TOP 10)




Donators

Documentation

Index

Constants

View Source
const AUTHORS = "john<john@goframe.org>"
View Source
const VERSION = "v1.5.14"

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
cmd
gf Module
contrib
config/apollo Module
config/consul Module
config/kubecm Module
config/nacos Module
drivers Module
drivers/dm Module
drivers/mssql Module
drivers/mysql Module
drivers/pgsql Module
nosql/redis Module
registry/etcd Module
registry/file Module
rpc/grpcx Module
trace/jaeger Module
example module
g
container/garray
Package garray provides kinds of concurrent-safe(alternative) arrays.
Package garray provides kinds of concurrent-safe(alternative) arrays.
container/gchan
Package gchan provides graceful operations for channel.
Package gchan provides graceful operations for channel.
container/glist
Package glist provides a concurrent-safe(alternative) doubly linked list.
Package glist provides a concurrent-safe(alternative) doubly linked list.
container/gmap
Package gmap provides kinds of concurrent-safe(alternative) maps.
Package gmap provides kinds of concurrent-safe(alternative) maps.
container/gpool
Package gpool provides a object-reusable concurrent-safe pool.
Package gpool provides a object-reusable concurrent-safe pool.
container/gqueue
Package gqueue provides a dynamic/static concurrent-safe(alternative) queue.
Package gqueue provides a dynamic/static concurrent-safe(alternative) queue.
container/gring
Package gring provides a concurrent-safe(alternative) ring(circular lists).
Package gring provides a concurrent-safe(alternative) ring(circular lists).
container/gset
Package gset provides kinds of concurrent-safe(alternative) sets.
Package gset provides kinds of concurrent-safe(alternative) sets.
container/gtype
Package gtype provides kinds of high performance, concurrent-safe basic variable types.
Package gtype provides kinds of high performance, concurrent-safe basic variable types.
container/gvar
Package gvar provides an universal variable type, like generics.
Package gvar provides an universal variable type, like generics.
crypto/gaes
Package gaes provides useful API for AES encryption/decryption algorithms.
Package gaes provides useful API for AES encryption/decryption algorithms.
crypto/gcrc32
Package gcrc32 provides useful API for CRC32 encryption/decryption algorithms.
Package gcrc32 provides useful API for CRC32 encryption/decryption algorithms.
crypto/gdes
Package gdes provides useful API for DES encryption/decryption algorithms.
Package gdes provides useful API for DES encryption/decryption algorithms.
crypto/gmd5
Package gmd5 provides useful API for MD5 encryption/decryption algorithms.
Package gmd5 provides useful API for MD5 encryption/decryption algorithms.
crypto/gsha1
Package gsha1 provides useful API for SHA1 encryption/decryption algorithms.
Package gsha1 provides useful API for SHA1 encryption/decryption algorithms.
database/gdb
Package gdb provides ORM features for popular relationship databases.
Package gdb provides ORM features for popular relationship databases.
database/gredis
Package gredis provides client for redis server.
Package gredis provides client for redis server.
encoding/gbase64
Package gbase64 provides useful API for BASE64 encoding/decoding algorithms.
Package gbase64 provides useful API for BASE64 encoding/decoding algorithms.
encoding/gbinary
Package gbinary provides useful API for handling binary/bytes data.
Package gbinary provides useful API for handling binary/bytes data.
encoding/gcharset
Package gcharset provides converting string to requested character encoding.
Package gcharset provides converting string to requested character encoding.
encoding/gcompress
Package gcompress provides kinds of compression algorithms for binary/bytes data.
Package gcompress provides kinds of compression algorithms for binary/bytes data.
encoding/ghash
Package ghash provides some popular hash functions(uint32/uint64) in go.
Package ghash provides some popular hash functions(uint32/uint64) in go.
encoding/ghtml
Package ghtml provides useful API for HTML content handling.
Package ghtml provides useful API for HTML content handling.
encoding/gjson
Package gjson provides quite flexible and useful API for JSON/XML/YAML/TOML content handling.
Package gjson provides quite flexible and useful API for JSON/XML/YAML/TOML content handling.
encoding/gparser
Package gparser provides a flexible and easy way for accessing/converting variable and JSON/XML/YAML/TOML contents.
Package gparser provides a flexible and easy way for accessing/converting variable and JSON/XML/YAML/TOML contents.
encoding/gtoml
Package gtoml provides accessing and converting for TOML content.
Package gtoml provides accessing and converting for TOML content.
encoding/gurl
Package gurl provides useful API for URL handling.
Package gurl provides useful API for URL handling.
encoding/gxml
Package gxml provides accessing and converting for XML content.
Package gxml provides accessing and converting for XML content.
encoding/gyaml
Package gyaml provides accessing and converting for YAML content.
Package gyaml provides accessing and converting for YAML content.
frame/gins
Package gins provides instances management and some core components.
Package gins provides instances management and some core components.
frame/gmvc
Package gmvc provides basic object classes for MVC.
Package gmvc provides basic object classes for MVC.
net
net/ghttp
Package ghttp provides a powerful http server and a simple client.
Package ghttp provides a powerful http server and a simple client.
net/gipv4
Package gipv4 provides useful API for IPv4 address handling.
Package gipv4 provides useful API for IPv4 address handling.
net/gipv6
Package gipv4 provides useful API for IPv6 address handling.
Package gipv4 provides useful API for IPv6 address handling.
net/greuseport
Package greuseport provides Listen and Dial functions that set socket options in order to be able to reuse ports.
Package greuseport provides Listen and Dial functions that set socket options in order to be able to reuse ports.
net/gscanner
Package gscanner provides a port scanner for local intranet.
Package gscanner provides a port scanner for local intranet.
net/gsmtp
Package gsmtp provides a SMTP client to access remote mail server.
Package gsmtp provides a SMTP client to access remote mail server.
net/gtcp
Package gtcp provides TCP server and client implementations.
Package gtcp provides TCP server and client implementations.
net/gudp
Package gtcp provides UDP server and client implementations.
Package gtcp provides UDP server and client implementations.
os
os/gcache
Package gcache provides high performance and concurrent-safe in-memory cache for process.
Package gcache provides high performance and concurrent-safe in-memory cache for process.
os/gcfg
Package gcfg provides reading, caching and managing for configuration files.
Package gcfg provides reading, caching and managing for configuration files.
os/gcmd
Package gcmd provides console operations, like options/values reading and command running.
Package gcmd provides console operations, like options/values reading and command running.
os/gcron
Package gcron implements a cron pattern parser and job runner.
Package gcron implements a cron pattern parser and job runner.
os/genv
Package genv provides operations for environment variables of system.
Package genv provides operations for environment variables of system.
os/gfcache
Package gfcache provides reading and caching for file contents.
Package gfcache provides reading and caching for file contents.
os/gfile
Package gfile provides easy-to-use operations for file system.
Package gfile provides easy-to-use operations for file system.
os/gflock
Package gflock implements a thread-safe sync.Locker interface for file locking.
Package gflock implements a thread-safe sync.Locker interface for file locking.
os/gfpool
Package gfpool provides io-reusable pool for file pointer.
Package gfpool provides io-reusable pool for file pointer.
os/gfsnotify
Package gfsnotify provides a platform-independent interface for file system notifications.
Package gfsnotify provides a platform-independent interface for file system notifications.
os/glog
Package glog implements powerful and easy-to-use levelled logging functionality.
Package glog implements powerful and easy-to-use levelled logging functionality.
os/gmlock
Package gmlock implements a thread-safe memory locker.
Package gmlock implements a thread-safe memory locker.
os/gproc
Package gproc implements communication and management of processes.
Package gproc implements communication and management of processes.
os/grpool
Package grpool implements a goroutine reusable pool.
Package grpool implements a goroutine reusable pool.
os/gspath
Package gspath implements file index and search for folders.
Package gspath implements file index and search for folders.
os/gtime
Package gtime provides functionality for measuring and displaying time.
Package gtime provides functionality for measuring and displaying time.
os/gtimer
Package gtimer implements Hierarchical Timing Wheel for interval/delayed jobs running and management.
Package gtimer implements Hierarchical Timing Wheel for interval/delayed jobs running and management.
os/gview
Package gview implements a template engine based on text/template.
Package gview implements a template engine based on text/template.
os/gview/internal/text
from golang-1.11.2 1.
from golang-1.11.2 1.
os/gview/internal/text/template
Package template implements data-driven templates for generating textual output.
Package template implements data-driven templates for generating textual output.
os/gview/internal/text/template/parse
Package parse builds parse trees for templates as defined by text/template and html/template.
Package parse builds parse trees for templates as defined by text/template and html/template.
test/gtest
Package gtest provides simple and useful test utils.
Package gtest provides simple and useful test utils.
text/gregex
Package gregex provides high performance API for regular expression functionality.
Package gregex provides high performance API for regular expression functionality.
text/gstr
Package gstr provides functions for string handling.
Package gstr provides functions for string handling.
util/gconv
Package gconv implements powerful and easy-to-use converting functionality for any types of variables.
Package gconv implements powerful and easy-to-use converting functionality for any types of variables.
util/gpage
Package gpage provides useful paging functionality for web pages.
Package gpage provides useful paging functionality for web pages.
util/grand
Package grand provides high performance API for random functionality.
Package grand provides high performance API for random functionality.
util/gutil
Package gutil provides some uncategorized util functions.
Package gutil provides some uncategorized util functions.
util/gvalid
Package gvalid implements powerful and useful data/form validation functionality.
Package gvalid implements powerful and useful data/form validation functionality.
geg
net
net/ghttp/server/duplicate
路由重复注册检查 - handler 路由重复注册检查 - controller 路由重复注册检查 - object
路由重复注册检查 - handler 路由重复注册检查 - controller 路由重复注册检查 - object
os
os/gproc
多进程通信示例, 子进程每个1秒向父进程发送当前时间, 父进程监听进程消息,收到后打印到终端。
多进程通信示例, 子进程每个1秒向父进程发送当前时间, 父进程监听进程消息,收到后打印到终端。
third
github.com/BurntSushi/toml
Package toml provides facilities for decoding and encoding TOML configuration files via reflection.
Package toml provides facilities for decoding and encoding TOML configuration files via reflection.
github.com/clbanning/mxj
Marshal/Unmarshal XML to/from JSON and map[string]interface{} values, and extract/modify values from maps by key or key-path, including wildcards.
Marshal/Unmarshal XML to/from JSON and map[string]interface{} values, and extract/modify values from maps by key or key-path, including wildcards.
github.com/clbanning/mxj/j2x
j2x.go - For (mostly) backwards compatibility with legacy j2x package.
j2x.go - For (mostly) backwards compatibility with legacy j2x package.
github.com/clbanning/mxj/x2j
x2j - For (mostly) backwards compatibility with legacy x2j package.
x2j - For (mostly) backwards compatibility with legacy x2j package.
github.com/clbanning/mxj/x2j-wrapper
Unmarshal dynamic / arbitrary XML docs and extract values (using wildcards, if necessary).
Unmarshal dynamic / arbitrary XML docs and extract values (using wildcards, if necessary).
github.com/fatih/structs
Package structs contains various utilities functions to work with structs.
Package structs contains various utilities functions to work with structs.
github.com/fsnotify/fsnotify
Package fsnotify provides a platform-independent interface for file system notifications.
Package fsnotify provides a platform-independent interface for file system notifications.
github.com/go-sql-driver/mysql
Package mysql provides a MySQL driver for Go's database/sql package.
Package mysql provides a MySQL driver for Go's database/sql package.
github.com/gomodule/redigo/internal/redistest
Package redistest contains utilities for writing Redigo tests.
Package redistest contains utilities for writing Redigo tests.
github.com/gomodule/redigo/redis
Package redis is a client for the Redis database.
Package redis is a client for the Redis database.
github.com/gomodule/redigo/redisx
Package redisx contains experimental features for Redigo.
Package redisx contains experimental features for Redigo.
github.com/gorilla/websocket
Package websocket implements the WebSocket protocol defined in RFC 6455.
Package websocket implements the WebSocket protocol defined in RFC 6455.
github.com/olekukonko/tablewriter
Create & Generate text based table
Create & Generate text based table
github.com/stathat/go
The stathat package makes it easy to post any values to your StatHat account.
The stathat package makes it easy to post any values to your StatHat account.
github.com/theckman/go-flock
Package flock implements a thread-safe sync.Locker interface for file locking.
Package flock implements a thread-safe sync.Locker interface for file locking.
golang.org/x/sys/cpu
Package cpu implements processor feature detection for various CPU architectures.
Package cpu implements processor feature detection for various CPU architectures.
golang.org/x/sys/unix
Package unix contains an interface to the low-level operating system primitives.
Package unix contains an interface to the low-level operating system primitives.
golang.org/x/sys/windows/svc
Package svc provides everything required to build Windows service.
Package svc provides everything required to build Windows service.
golang.org/x/sys/windows/svc/debug
Package debug provides facilities to execute svc.Handler on console.
Package debug provides facilities to execute svc.Handler on console.
golang.org/x/sys/windows/svc/eventlog
Package eventlog implements access to Windows event log.
Package eventlog implements access to Windows event log.
golang.org/x/sys/windows/svc/example
Example service program that beeps.
Example service program that beeps.
golang.org/x/sys/windows/svc/mgr
Package mgr can be used to manage Windows service programs.
Package mgr can be used to manage Windows service programs.
gopkg.in/yaml.v2
Package yaml implements YAML support for the Go language.
Package yaml implements YAML support for the Go language.
tool
gf Module

Jump to

Keyboard shortcuts

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