Documentation ¶
Overview ¶
Package interfaces Package @author <chengjiang@buffalo-robot.com> @date 2023-06-27 @note
Package interfaces @author <chengjiang@buffalo-robot.com> @date 2023-06-27 @note
Package interfaces @author <chengjiang@buffalo-robot.com> @date 2023-06-27 @note
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewConfigurationInterface)
ProviderSet is interfaces providers.
View Source
var Response struct { Status string `json:"status"` DateTime int64 `json:"datetime"` Data interface{} `json:"data"` }
Functions ¶
func RegisterConfigurationHTTPServer ¶
func RegisterConfigurationHTTPServer( cf *ConfigurationInterface) *gin.Engine
Types ¶
type ConfigurationInterface ¶
type ConfigurationInterface struct {
// contains filtered or unexported fields
}
func NewConfigurationInterface ¶
func NewConfigurationInterface(logger log.Logger) *ConfigurationInterface
func (*ConfigurationInterface) Register ¶
func (u *ConfigurationInterface) Register(c *gin.Context)
func (*ConfigurationInterface) SayHi ¶
func (u *ConfigurationInterface) SayHi(c *gin.Context)
Click to show internal directories.
Click to hide internal directories.