mirror of
https://github.com/aler9/gortsplib
synced 2025-10-04 14:52:46 +08:00
move examples in dedicated folders to follow conventions
This commit is contained in:
2
Makefile
2
Makefile
@@ -49,7 +49,7 @@ test:
|
|||||||
make test-nodocker
|
make test-nodocker
|
||||||
|
|
||||||
test-examples:
|
test-examples:
|
||||||
$(foreach f,$(shell ls examples/*),go build -o /dev/null $(f)$(NL))
|
go build -o /dev/null ./examples/...
|
||||||
|
|
||||||
test-pkg:
|
test-pkg:
|
||||||
go test -race -v ./pkg/...
|
go test -race -v ./pkg/...
|
||||||
|
22
README.md
22
README.md
@@ -30,17 +30,17 @@ Features:
|
|||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
* [client-query](examples/client-query.go)
|
* [client-query](examples/client-query/main.go)
|
||||||
* [client-read](examples/client-read.go)
|
* [client-read](examples/client-read/main.go)
|
||||||
* [client-read-partial](examples/client-read-partial.go)
|
* [client-read-partial](examples/client-read-partial/main.go)
|
||||||
* [client-read-options](examples/client-read-options.go)
|
* [client-read-options](examples/client-read-options/main.go)
|
||||||
* [client-read-pause](examples/client-read-pause.go)
|
* [client-read-pause](examples/client-read-pause/main.go)
|
||||||
* [client-publish](examples/client-publish.go)
|
* [client-publish](examples/client-publish/main.go)
|
||||||
* [client-publish-options](examples/client-publish-options.go)
|
* [client-publish-options](examples/client-publish-options/main.go)
|
||||||
* [client-publish-pause](examples/client-publish-pause.go)
|
* [client-publish-pause](examples/client-publish-pause/main.go)
|
||||||
* [server](examples/server.go)
|
* [server](examples/server/main.go)
|
||||||
* [server-udp](examples/server-udp.go)
|
* [server-udp](examples/server-udp/main.go)
|
||||||
* [server-tls](examples/server-tls.go)
|
* [server-tls](examples/server-tls/main.go)
|
||||||
|
|
||||||
## API Documentation
|
## API Documentation
|
||||||
|
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
// +build ignore
|
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
@@ -1,5 +1,3 @@
|
|||||||
// +build ignore
|
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
@@ -1,5 +1,3 @@
|
|||||||
// +build ignore
|
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
@@ -1,5 +1,3 @@
|
|||||||
// +build ignore
|
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
@@ -1,5 +1,3 @@
|
|||||||
// +build ignore
|
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
@@ -1,5 +1,3 @@
|
|||||||
// +build ignore
|
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
@@ -1,5 +1,3 @@
|
|||||||
// +build ignore
|
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
@@ -1,5 +1,3 @@
|
|||||||
// +build ignore
|
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
@@ -1,5 +1,3 @@
|
|||||||
// +build ignore
|
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
@@ -1,5 +1,3 @@
|
|||||||
// +build ignore
|
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
@@ -1,5 +1,3 @@
|
|||||||
// +build ignore
|
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
Reference in New Issue
Block a user