Skip to content

Commit

Permalink
chore: update import paths after repo move
Browse files Browse the repository at this point in the history
Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
  • Loading branch information
smira committed Nov 26, 2019
1 parent dbf07a4 commit d8d3a75
Show file tree
Hide file tree
Showing 9 changed files with 74 additions and 74 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Go
on: [push]
on:
- push
- pull_request
jobs:

build:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# gRPC Proxy

[![Go Report Card](https://goreportcard.com/badge/github.com/smira/grpc-proxy)](https://goreportcard.com/report/github.com/smira/grpc-proxy)
[![GoDoc](http://img.shields.io/badge/GoDoc-Reference-blue.svg)](https://godoc.org/github.com/smira/grpc-proxy)
[![Go Report Card](https://goreportcard.com/badge/github.com/talos-systems/grpc-proxy)](https://goreportcard.com/report/github.com/talos-systems/grpc-proxy)
[![GoDoc](http://img.shields.io/badge/GoDoc-Reference-blue.svg)](https://godoc.org/github.com/talos-systems/grpc-proxy)
[![Apache 2.0 License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)

[gRPC Go](https://github.com/grpc/grpc-go) Proxy server
Expand Down
3 changes: 1 addition & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
module github.com/smira/grpc-proxy
module github.com/talos-systems/grpc-proxy

go 1.13

require (
github.com/golang/protobuf v1.3.2
github.com/hashicorp/go-multierror v1.0.0
github.com/stretchr/testify v1.4.0
golang.org/x/net v0.0.0-20191116160921-f9c825593386 // indirect
google.golang.org/grpc v1.25.1
)
3 changes: 1 addition & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@ golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHl
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20190311183353-d8887717615a h1:oWX7TPOiFAMXLq8o0ikBYfCJVlRHBcsciT5bXOrH628=
golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20191116160921-f9c825593386 h1:ktbWvQrW08Txdxno1PiDpSxPXG6ndGsfnJjRRtkM0LQ=
golang.org/x/net v0.0.0-20191116160921-f9c825593386/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
Expand Down
4 changes: 2 additions & 2 deletions proxy/examples_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"google.golang.org/grpc/metadata"
"google.golang.org/grpc/status"

"github.com/smira/grpc-proxy/proxy"
"github.com/talos-systems/grpc-proxy/proxy"
)

var (
Expand All @@ -24,7 +24,7 @@ func ExampleRegisterService() {
server := grpc.NewServer(grpc.CustomCodec(proxy.Codec()))
// Register a TestService with 4 of its methods explicitly.
proxy.RegisterService(server, director,
"smira.testproto.TestService",
"talos.testproto.TestService",
[]string{"PingEmpty", "Ping", "PingError", "PingList"},
[]string{"PingList"})
}
Expand Down
6 changes: 3 additions & 3 deletions proxy/handler_multi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ import (
"google.golang.org/grpc/metadata"
"google.golang.org/grpc/status"

"github.com/smira/grpc-proxy/proxy"
pb "github.com/smira/grpc-proxy/testservice"
pb "github.com/talos-systems/grpc-proxy/testservice"
"github.com/talos-systems/grpc-proxy/proxy"
)

const (
Expand Down Expand Up @@ -596,7 +596,7 @@ func (s *MultiServiceSuite) SetupSuite() {
)
// Ping handler is handled as an explicit registration and not as a TransparentHandler.
proxy.RegisterService(s.proxy, director,
"smira.testproto.MultiService",
"talos.testproto.MultiService",
[]string{"Ping", "PingStream", "PingStreamError"},
[]string{"PingStream", "PingStreamError"})

Expand Down
6 changes: 3 additions & 3 deletions proxy/handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import (

"fmt"

"github.com/smira/grpc-proxy/proxy"
pb "github.com/smira/grpc-proxy/testservice"
"github.com/talos-systems/grpc-proxy/proxy"
pb "github.com/talos-systems/grpc-proxy/testservice"
)

const (
Expand Down Expand Up @@ -229,7 +229,7 @@ func (s *ProxyHappySuite) SetupSuite() {
)
// Ping handler is handled as an explicit registration and not as a TransparentHandler.
proxy.RegisterService(s.proxy, director,
"smira.testproto.TestService",
"talos.testproto.TestService",
[]string{"Ping"},
nil)

Expand Down
116 changes: 58 additions & 58 deletions testservice/test.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion testservice/test.proto
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
syntax = "proto3";

package smira.testproto;
package talos.testproto;

message Empty {
}
Expand Down

0 comments on commit d8d3a75

Please sign in to comment.