You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

github.com/mistikel/api-websocket-go

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/mistikel/api-websocket-go

v0.0.0-20200513150847-02f5893a7c3d
Source
Go
Version published
Created
Source

api-websocket-go

Prerequisite tools

  • Go version go1.14.1
  • Docker (optional)

Command

  • Install Dependency

    go mod download
    
  • Test

    go test -race ./...
    
  • Run server

    go run main.go
    
  • Run client

    cd client && go run client.go
    
  • Run script request to publish message

    ./request.sh
    
  • Run with docker

    docker build -t asg .
    docker run -p 8080:8080 asg
    

FAQs

Package last updated on 13 May 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts