Documentation
¶
Index ¶
- type BootstrapConfig
- type Server
- type ServerBuilder
- func (b *ServerBuilder) Build() *echo.Echo
- func (b *ServerBuilder) WithDefaultMiddleware() *ServerBuilder
- func (b *ServerBuilder) WithErrorHandler() *ServerBuilder
- func (b *ServerBuilder) WithNotFound() *ServerBuilder
- func (b *ServerBuilder) WithRoutes(register func(e *echo.Echo)) *ServerBuilder
- func (b *ServerBuilder) WithStaticAssets(directories map[string]string) *ServerBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BootstrapConfig ¶
type ServerBuilder ¶
type ServerBuilder struct {
// contains filtered or unexported fields
}
func New ¶
func New() *ServerBuilder
func (*ServerBuilder) Build ¶
func (b *ServerBuilder) Build() *echo.Echo
func (*ServerBuilder) WithDefaultMiddleware ¶
func (b *ServerBuilder) WithDefaultMiddleware() *ServerBuilder
func (*ServerBuilder) WithErrorHandler ¶
func (b *ServerBuilder) WithErrorHandler() *ServerBuilder
func (*ServerBuilder) WithNotFound ¶
func (b *ServerBuilder) WithNotFound() *ServerBuilder
func (*ServerBuilder) WithRoutes ¶
func (b *ServerBuilder) WithRoutes(register func(e *echo.Echo)) *ServerBuilder
func (*ServerBuilder) WithStaticAssets ¶
func (b *ServerBuilder) WithStaticAssets(directories map[string]string) *ServerBuilder
Click to show internal directories.
Click to hide internal directories.