1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-06-24 22:26:54 +02:00

add events package (#2341)

* add events package

* update go version
This commit is contained in:
Asim Aslam
2021-11-08 08:52:39 +00:00
committed by GitHub
parent c5be9f560c
commit 0c2041e439
56 changed files with 982 additions and 72 deletions

View File

@ -8,8 +8,8 @@ import (
"io"
"strings"
"go-micro.dev/v4/codec"
"github.com/golang/protobuf/proto"
"go-micro.dev/v4/codec"
)
type Codec struct {

View File

@ -5,9 +5,9 @@ import (
"encoding/json"
"io"
"go-micro.dev/v4/codec"
"github.com/golang/protobuf/jsonpb"
"github.com/golang/protobuf/proto"
"go-micro.dev/v4/codec"
)
type Codec struct {

View File

@ -3,9 +3,9 @@ package proto
import (
"bytes"
"go-micro.dev/v4/codec"
"github.com/golang/protobuf/proto"
"github.com/oxtoacart/bpool"
"go-micro.dev/v4/codec"
)
// create buffer pool with 16 instances each preallocated with 256 bytes

View File

@ -4,8 +4,8 @@ package proto
import (
"io"
"go-micro.dev/v4/codec"
"github.com/golang/protobuf/proto"
"go-micro.dev/v4/codec"
)
type Codec struct {

View File

@ -8,8 +8,8 @@ import (
"strconv"
"sync"
"go-micro.dev/v4/codec"
"github.com/golang/protobuf/proto"
"go-micro.dev/v4/codec"
)
type flusher interface {