echo

package module
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2019 License: MIT Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

GoZix Echo

Dependencies

Configuration

{
  "echo": {
    "debug": false,
    "level": "debug",
    "static": {
      "prefix": "/",
      "root": ""
    },
    "hide_banner": false,
    "hide_port": false 
  }
}

Built-in Tags

Symbol Value Description
TagController echo.controller Add a controller
TagConfigurator echo.configurator Add a configurator
TagMiddleware echo.middleware Add a middleware

Documentation

Overview

Package echo provides dependency injection definitions.

Index

Constants

View Source
const (
	// TagController is alias of controller.Controller.
	TagController = configurator.TagController

	// TagConfigurator is alias of configurator.TagConfigurator.
	TagConfigurator = configurator.TagConfigurator

	// TagMiddleware is alias of configurator.TagMiddleware.
	TagMiddleware = configurator.TagMiddleware
)
View Source
const BundleName = "echo"

BundleName is default definition name.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bundle

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

Bundle implements the glue.Bundle interface.

func NewBundle

func NewBundle(options ...Option) *Bundle

NewBundle create bundle instance.

func (*Bundle) Build

func (b *Bundle) Build(builder *di.Builder) error

Build implements the glue.Bundle interface.

func (*Bundle) DependsOn

func (b *Bundle) DependsOn() []string

DependsOn implements the glue.DependsOn interface.

func (*Bundle) Name

func (b *Bundle) Name() string

Name implements the glue.Bundle interface.

type Configurator

type Configurator = configurator.Configurator

Configurator is type alias of configurator.Configurator.

type Controller

type Controller = configurator.Controller

Controller is type alias of controller.Controller.

type Option

type Option interface {
	// contains filtered or unexported methods
}

Option interface.

func ErrHandler

func ErrHandler(defName string) Option

ErrHandler option.

Directories

Path Synopsis
Package errors provides implementations of custom errors for the echo framework.
Package errors provides implementations of custom errors for the echo framework.
internal
command
Package command contains cli command definitions.
Package command contains cli command definitions.
configurator
Package configurator provide container definitions.
Package configurator provide container definitions.
Package middleware provide implementations of custom middleware for the echo framework.
Package middleware provide implementations of custom middleware for the echo framework.
Package mock provide dependency injection definitions.
Package mock provide dependency injection definitions.

Jump to

Keyboard shortcuts

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