Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureRouter ¶
Types ¶
type API ¶
type API interface { Start() error AddRoute(method, path string, handler gin.HandlerFunc) }
type APIRouteRegistrar ¶
type APIRouteRegistrar interface {
RegisterRoutes()
}
type APIv1 ¶
type APIv1 struct { ApiGroup *gin.RouterGroup Host string Port uint // contains filtered or unexported fields }
func GetInstance ¶
func GetInstance() *APIv1
func (*APIv1) Start ¶
@license.name Apache 2.0 @license.url http://www.apache.org/licenses/LICENSE-2.0.html
Click to show internal directories.
Click to hide internal directories.