Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterApiManager ¶
func RegisterApiManager(api ApiManager)
RegisterApiManager will allow each version module to register itself
Types ¶
type ApiManager ¶
type ApiManager interface { // Initialize api manager with configuration Initialize(c core.Config) error // Get apimanager's version GetVersion() string // Mainloop method Run() error }
ApiManager represent api manager interface for each version
func GetApiManager ¶
func GetApiManager(c core.Config) (ApiManager, error)
GetApiManger return api manager specified by configuration
Directories ¶
Path | Synopsis |
---|---|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. |
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. |
Click to show internal directories.
Click to hide internal directories.