go-micro: github.com/micro/go-micro/codec/grpc Index | Files

package grpc

import "github.com/micro/go-micro/codec/grpc"

Package grpc provides a grpc codec

Index

Package Files

grpc.go util.go

func NewCodec Uses

func NewCodec(c io.ReadWriteCloser) codec.Codec

type Codec Uses

type Codec struct {
    Conn        io.ReadWriteCloser
    ContentType string
}

func (*Codec) Close Uses

func (c *Codec) Close() error

func (*Codec) ReadBody Uses

func (c *Codec) ReadBody(b interface{}) error

func (*Codec) ReadHeader Uses

func (c *Codec) ReadHeader(m *codec.Message, t codec.MessageType) error

func (*Codec) String Uses

func (c *Codec) String() string

func (*Codec) Write Uses

func (c *Codec) Write(m *codec.Message, b interface{}) error

Package grpc imports 8 packages (graph) and is imported by 8 packages. Updated 2019-03-05. Refresh now. Tools for package owners.