Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ElasticController ¶
type ElasticController struct{}
ElasticController Object
func (ElasticController) Elastic ¶
func (p ElasticController) Elastic(c *gin.Context)
Elastic Function Controller
type HealthController ¶
type HealthController struct{}
func (HealthController) Status ¶
func (h HealthController) Status(c *gin.Context)
Status Get health Status All
func (HealthController) StatusCpu ¶
func (h HealthController) StatusCpu(c *gin.Context)
StatusCpu Get CPU Stats in spesific
func (HealthController) StatusDisk ¶
func (h HealthController) StatusDisk(c *gin.Context)
StatusCpu Get Disk Stats in spesific
func (HealthController) StatusMem ¶
func (h HealthController) StatusMem(c *gin.Context)
StatusCpu Get Mem Status in spesific
type KafkaController ¶
type KafkaController struct{}
KafkaController Types
func (KafkaController) KafkaTest ¶
func (p KafkaController) KafkaTest(c *gin.Context)
KafkaTest Function
type LoginController ¶
type LoginController struct{}
func (LoginController) ListLogin ¶
func (h LoginController) ListLogin(c *gin.Context)
ListLogin controller
func (LoginController) LoginUsers ¶
func (h LoginController) LoginUsers(c *gin.Context)
type SenDFormat ¶
type SenDFormat struct { Taskid string `json:"task_id"` Data interface{} `json:"data"` }
SenDFormat | Sending To Kafka
type Tweet ¶
type Tweet struct { User string `json:"user"` Message string `json:"message"` Retweets int `json:"retweets"` Image string `json:"image,omitempty"` Created time.Time `json:"created,omitempty"` Tags []string `json:"tags,omitempty"` Location string `json:"location,omitempty"` Suggest *elastic.SuggestField `json:"suggest_field,omitempty"` }
Click to show internal directories.
Click to hide internal directories.