Skip to content
This repository has been archived by the owner on Jun 5, 2021. It is now read-only.

Commit

Permalink
all: use gortc.io import
Browse files Browse the repository at this point in the history
  • Loading branch information
ernado committed Jul 22, 2019
1 parent 03fca5e commit 190624b
Show file tree
Hide file tree
Showing 26 changed files with 431 additions and 432 deletions.
3 changes: 1 addition & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,13 @@ linters-settings:
lll:
line-length: 140
goimports:
local-prefixes: github.com/gortc
local-prefixes: gortc.io
gocritic:
enabled-tags:
- performance
- style
- experimental
disabled-checks:
- evalOrder
- commentedOutCode
- sloppyReassign

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM golang:1.12

COPY . /go/src/github.com/gortc/stun
COPY . /go/src/gortc.io/stun

RUN go test github.com/gortc/stun
RUN go test gortc.io/stun
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ bench:
bench-record:
$(GO) test -bench . > "benchmarks/stun-go-$(GO_VERSION).txt"
fuzz-prepare-msg:
go-fuzz-build -func FuzzMessage -o stun-msg-fuzz.zip github.com/gortc/stun
go-fuzz-build -func FuzzMessage -o stun-msg-fuzz.zip gortc.io/stun
fuzz-prepare-typ:
go-fuzz-build -func FuzzType -o stun-typ-fuzz.zip github.com/gortc/stun
go-fuzz-build -func FuzzType -o stun-typ-fuzz.zip gortc.io/stun
fuzz-prepare-setters:
go-fuzz-build -func FuzzSetters -o stun-setters-fuzz.zip github.com/gortc/stun
go-fuzz-build -func FuzzSetters -o stun-setters-fuzz.zip gortc.io/stun
fuzz-msg:
go-fuzz -bin=./stun-msg-fuzz.zip -workdir=fuzz/stun-msg
fuzz-typ:
Expand Down
2 changes: 1 addition & 1 deletion api/check.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/usr/bin/env bash
api -c $(ls -dm stun*.txt | tr -d ' \n') -except except.txt github.com/gortc/stun
api -c $(ls -dm stun*.txt | tr -d ' \n') -except except.txt gortc.io/stun
50 changes: 25 additions & 25 deletions api/except.txt
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
pkg github.com/gortc/stun, type Handler interface { HandleEvent }
pkg github.com/gortc/stun, type Handler interface, HandleEvent(Event)
pkg github.com/gortc/stun, type HandlerFunc func(Event)
pkg github.com/gortc/stun, method (HandlerFunc) HandleEvent(Event)
pkg github.com/gortc/stun, method (*Client) Do(*Message, time.Time, func(Event)) error
pkg github.com/gortc/stun, method (*Client) Start(*Message, time.Time, Handler) error
pkg github.com/gortc/stun, method (*Client) Start(*Message, time.Time, Handler) error
pkg github.com/gortc/stun, type ClientAgent interface { Close, Collect, Process, Start, Stop }
pkg github.com/gortc/stun, method (*Agent) SetHandler(Handler) error
pkg github.com/gortc/stun, method (*Agent) Start([12]uint8, time.Time, Handler) error
pkg github.com/gortc/stun, func NewAgent(AgentOptions) *Agent
pkg github.com/gortc/stun, type ClientAgent interface, Start([12]uint8, time.Time, Handler) error
pkg github.com/gortc/stun, var ErrAttrSizeInvalid error
pkg github.com/gortc/stun, type AgentOptions struct
pkg github.com/gortc/stun, type AgentOptions struct, Handler Handler
pkg github.com/gortc/stun, func NewClient(ClientOptions) (*Client, error)
pkg github.com/gortc/stun, type ClientOptions struct
pkg github.com/gortc/stun, type ClientOptions struct, Agent ClientAgent
pkg github.com/gortc/stun, type ClientOptions struct, Clock Clock
pkg github.com/gortc/stun, type ClientOptions struct, Collector Collector
pkg github.com/gortc/stun, type ClientOptions struct, Connection Connection
pkg github.com/gortc/stun, type ClientOptions struct, Handler Handler
pkg github.com/gortc/stun, type ClientOptions struct, RTO time.Duration
pkg github.com/gortc/stun, type ClientOptions struct, TimeoutRate time.Duration
pkg github.com/gortc/stun, const CodeRoleConflict = 478
pkg gortc.io/stun, type Handler interface { HandleEvent }
pkg gortc.io/stun, type Handler interface, HandleEvent(Event)
pkg gortc.io/stun, type HandlerFunc func(Event)
pkg gortc.io/stun, method (HandlerFunc) HandleEvent(Event)
pkg gortc.io/stun, method (*Client) Do(*Message, time.Time, func(Event)) error
pkg gortc.io/stun, method (*Client) Start(*Message, time.Time, Handler) error
pkg gortc.io/stun, method (*Client) Start(*Message, time.Time, Handler) error
pkg gortc.io/stun, type ClientAgent interface { Close, Collect, Process, Start, Stop }
pkg gortc.io/stun, method (*Agent) SetHandler(Handler) error
pkg gortc.io/stun, method (*Agent) Start([12]uint8, time.Time, Handler) error
pkg gortc.io/stun, func NewAgent(AgentOptions) *Agent
pkg gortc.io/stun, type ClientAgent interface, Start([12]uint8, time.Time, Handler) error
pkg gortc.io/stun, var ErrAttrSizeInvalid error
pkg gortc.io/stun, type AgentOptions struct
pkg gortc.io/stun, type AgentOptions struct, Handler Handler
pkg gortc.io/stun, func NewClient(ClientOptions) (*Client, error)
pkg gortc.io/stun, type ClientOptions struct
pkg gortc.io/stun, type ClientOptions struct, Agent ClientAgent
pkg gortc.io/stun, type ClientOptions struct, Clock Clock
pkg gortc.io/stun, type ClientOptions struct, Collector Collector
pkg gortc.io/stun, type ClientOptions struct, Connection Connection
pkg gortc.io/stun, type ClientOptions struct, Handler Handler
pkg gortc.io/stun, type ClientOptions struct, RTO time.Duration
pkg gortc.io/stun, type ClientOptions struct, TimeoutRate time.Duration
pkg gortc.io/stun, const CodeRoleConflict = 478
Loading

0 comments on commit 190624b

Please sign in to comment.