framework

package module
v0.0.0-...-ab4a820 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

README

INFINI Framework

Requirements

  • Golang v1.11+

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) InitWithOptions

func (app *App) InitWithOptions(options Options, customFunc func())

func (*App) Shutdown

func (app *App) Shutdown()

func (*App) Start

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

type Options

type Options struct {
	EnableProfiling bool
}

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
dag
env
kv
log
net
orm
rpc
Package grpcpool provides a pool of grpc clients https://github.com/processout/grpc-go-pool/blob/master/LICENSE
Package grpcpool provides a pool of grpc clients https://github.com/processout/grpc-go-pool/blob/master/LICENSE
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
nsq
ui

Jump to

Keyboard shortcuts

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