stdjson

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: MIT Imports: 3 Imported by: 0

README

stdjson

This package is for encoding/json support. encoding/json has no configuration.

Usage

import (
    sio "github.com/hhuuson97/socket.io-go"
    jsonparser "github.com/hhuuson97/socket.io-go/parser/json"
    "github.com/hhuuson97/socket.io-go/parser/json/serializer/stdjson"
)

func main() {
    io := sio.NewServer(&sio.ServerConfig{
        ParserCreator: jsonparser.NewCreator(0, stdjson.New()),
    })

    io.Run()
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

Types

This section is empty.

Jump to

Keyboard shortcuts

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