Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IServerApi ¶
type IServerApi interface {
ApiServices() service.IApiServices
Db() db.IDb
Cache() cache.ICache
RequestIDGenerator() string
ApiRoot() echoswagger.ApiRoot
InitSwagger(info *echoswagger.Info)
InitServer() *echo.Echo
InitServices(ctx context.Context) IServerApi
Close() IServerApi
}
IServerApi provides exposed server interface
func New ¶
func New() IServerApi
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
server
command
* Copyright (c) 2020 Alexander Milyutin <alex@milyutin.work> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
|
* Copyright (c) 2020 Alexander Milyutin <alex@milyutin.work> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. |
|
internal
|
|
|
repo
|
|
Click to show internal directories.
Click to hide internal directories.