socket

package
Version: v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Server *socketio.Server

Server for socket server

Functions

func Handler

func Handler() gin.HandlerFunc

Handler initializes the prometheus middleware.

func NewEngine

func NewEngine() error

NewEngine for socket server

Types

type Test

type Test struct {
	A int    `json:"abc"`
	B string `json:"def"`
}

Test for testing websocket

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL