framework

package module
v0.0.0-...-678c32f Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2020 License: Apache-2.0 Imports: 18 Imported by: 5

README

Framework

Requirements

  • Golang v1.11+

How to use

  • Clone framework's vendor to your own application's root folder.
git clone  -b master https://github.com/infinitbyte/framework-vendor.git vendor

Example Project

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	// contains filtered or unexported fields
}

func NewApp

func NewApp(name, desc, ver, commit, buildDate, terminalHeader, terminalFooter string) *App

func (*App) Init

func (app *App) Init(customFunc func())

func (*App) Shutdown

func (app *App) Shutdown()

func (*App) Start

func (app *App) Start(setup func(), start func())

Directories

Path Synopsis
cmd
vfs
core
api
api/router
Package httprouter is a trie based high performance HTTP request router.
Package httprouter is a trie based high performance HTTP request router.
config
Package config , actually copied from github.com/elastic/beats
Package config , actually copied from github.com/elastic/beats
env
kv
orm
rpc
ui
util
https://ericchiang.github.io/post/go-tls/
https://ericchiang.github.io/post/go-tls/
util/file
Package file copied from github.com/elastic/beats https://github.com/elastic/beats/blob/master/LICENSE Licensed under the Apache License, Version 2.0 (the "License");
Package file copied from github.com/elastic/beats https://github.com/elastic/beats/blob/master/LICENSE Licensed under the Apache License, Version 2.0 (the "License");
vfs
api
ui
plugins

Jump to

Keyboard shortcuts

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