go-oryx-lib

command module
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2021 License: MIT Imports: 13 Imported by: 0

README

go-oryx-lib

Build Status codecov

This library is exported by server go-oryx.

Requires

GO1.4+

Packages

The library provides packages about network and multiple media processing:

  • logger: Connection-Oriented logger for application server.
  • json: Json+ supports c and c++ style comments.
  • options: Frequently used service options with config file.
  • http: For http response with error, jsonp and std reponse.
  • asprocess: The associate-process, for SRS/BMS to work with external process.
  • kxps: The k-some-ps, for example, kbps, krps.
  • https: For https server over lego/acme of letsencrypt.
  • gmoryx: A gomobile API for go-oryx-lib.
  • flv: The FLV muxer and demuxer, for oryx.
  • errors: Fork from pkg/errors, a complex error with message and stack, read article.
  • aac: The AAC utilities to demux and mux AAC RAW data, for oryx.
  • websocket: Fork from websocket.
  • rtmp: The RTMP protocol stack, for oryx.
  • avc: The AVC utilities to demux and mux AVC RAW data, for oryx.
  • sip: A sip RFC3261 library for WebRTC signaling.
  • turn: A turn RFC5766 library for WebRTC and SFU.

Remark: For library, please never use logger, use errors instead.

Other multiple media libraries in golang:

License

This library just depends on golang standard library, we do this by copying the code of other libraries, while all the licenses are liberal:

  1. go-oryx-lib uses MIT License.
  2. pkg/errors uses BSD 2-clause "Simplified" License.
  3. acme uses MIT License.
  4. jose uses Apache License 2.0.
  5. letsencrypt uses BSD 3-clause "New" or "Revised" License.
  6. websocket uses BSD 2-clause "Simplified" License.

Winlin 2016

Documentation

Overview

Please use library.

Directories

Path Synopsis
The oryx AAC package includes some utilites.
The oryx AAC package includes some utilites.
The oryx amf0 package support AMF0 codec.
The oryx amf0 package support AMF0 codec.
The oryx asprocess package provides associated process, which fork by parent process and die when parent die, for example, BMS server use asprocess to transcode audio, resolve DNS, bridge protocol(redis, kafka e.g.), and so on.
The oryx asprocess package provides associated process, which fork by parent process and die when parent die, for example, BMS server use asprocess to transcode audio, resolve DNS, bridge protocol(redis, kafka e.g.), and so on.
The oryx AVC package includes some utilites.
The oryx AVC package includes some utilites.
Package errors provides simple error handling primitives.
Package errors provides simple error handling primitives.
The oryx FLV package support bytes from/to FLV tags.
The oryx FLV package support bytes from/to FLV tags.
The gmoryx(gomobile oryx APIs) http package exported for mobile.
The gmoryx(gomobile oryx APIs) http package exported for mobile.
The oryx http package, the response parse service.
The oryx http package, the response parse service.
acme
fork from https://github.com/rsc/letsencrypt/tree/master/vendor/github.com/xenolf/lego/acme fork from https://github.com/xenolf/lego/tree/master/acme Package acme implements the ACME protocol for Let's Encrypt and other conforming providers.
fork from https://github.com/rsc/letsencrypt/tree/master/vendor/github.com/xenolf/lego/acme fork from https://github.com/xenolf/lego/tree/master/acme Package acme implements the ACME protocol for Let's Encrypt and other conforming providers.
crypto/ocsp
fork from golang.org/x/crypto/ocsp Package ocsp parses OCSP responses as specified in RFC 2560.
fork from golang.org/x/crypto/ocsp Package ocsp parses OCSP responses as specified in RFC 2560.
jose
from gopkg.in/square/go-jose.v1 from gopkg.in/square/go-jose.v1 Package jose aims to provide an implementation of the Javascript Object Signing and Encryption set of standards.
from gopkg.in/square/go-jose.v1 from gopkg.in/square/go-jose.v1 Package jose aims to provide an implementation of the Javascript Object Signing and Encryption set of standards.
jose/cipher
from gopkg.in/square/go-jose.v1/cipher from gopkg.in/square/go-jose.v1/cipher from gopkg.in/square/go-jose.v1/cipher from gopkg.in/square/go-jose.v1/cipher
from gopkg.in/square/go-jose.v1/cipher from gopkg.in/square/go-jose.v1/cipher from gopkg.in/square/go-jose.v1/cipher from gopkg.in/square/go-jose.v1/cipher
letsencrypt
Package letsencrypt obtains TLS certificates from LetsEncrypt.org.
Package letsencrypt obtains TLS certificates from LetsEncrypt.org.
net/context
Package context defines the Context type, which carries deadlines, cancelation signals, and other request-scoped values across API boundaries and between processes.
Package context defines the Context type, which carries deadlines, cancelation signals, and other request-scoped values across API boundaries and between processes.
time/rate
Package rate provides a rate limiter.
Package rate provides a rate limiter.
The oryx json package support json with c++ style comments.
The oryx json package support json with c++ style comments.
The oryx kxps package provides some kxps, for example: N kbps, N k bits per seconds N krps, N k requests per seconds over some duration for instance 10s, 30s, 5m, average.
The oryx kxps package provides some kxps, for example: N kbps, N k bits per seconds N krps, N k requests per seconds over some duration for instance 10s, 30s, 5m, average.
The oryx logger package provides connection-oriented log service.
The oryx logger package provides connection-oriented log service.
The oryx options package parse the options with config file.
The oryx options package parse the options with config file.
The oryx rtmp package support bytes from/to rtmp packets.
The oryx rtmp package support bytes from/to rtmp packets.
The oryx sip package support SIP protocol.
The oryx sip package support SIP protocol.
The oryx turn package support TURN protocol.
The oryx turn package support TURN protocol.
fork from https://github.com/gorilla/websocket fork from https://github.com/gorilla/websocket fork from https://github.com/gorilla/websocket fork from https://github.com/gorilla/websocket fork from https://github.com/gorilla/websocket Package websocket implements the WebSocket protocol defined in RFC 6455.
fork from https://github.com/gorilla/websocket fork from https://github.com/gorilla/websocket fork from https://github.com/gorilla/websocket fork from https://github.com/gorilla/websocket fork from https://github.com/gorilla/websocket Package websocket implements the WebSocket protocol defined in RFC 6455.

Jump to

Keyboard shortcuts

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