encode

package
v0.0.0-...-b5429bb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2018 License: MIT Imports: 6 Imported by: 3

Documentation

Overview

Package encode is a generated protocol buffer package.

It is generated from these files:

proto/encode/encode.proto

It has these top-level messages:

EncodeRequest
EncodeResponse

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterEncodeServiceHandler

func RegisterEncodeServiceHandler(s server.Server, hdlr EncodeServiceHandler, opts ...server.HandlerOption) error

Types

type EncodeRequest

type EncodeRequest struct {
	Url                  string   `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EncodeRequest) Descriptor

func (*EncodeRequest) Descriptor() ([]byte, []int)

func (*EncodeRequest) GetUrl

func (m *EncodeRequest) GetUrl() string

func (*EncodeRequest) ProtoMessage

func (*EncodeRequest) ProtoMessage()

func (*EncodeRequest) Reset

func (m *EncodeRequest) Reset()

func (*EncodeRequest) String

func (m *EncodeRequest) String() string

func (*EncodeRequest) XXX_DiscardUnknown

func (m *EncodeRequest) XXX_DiscardUnknown()

func (*EncodeRequest) XXX_Marshal

func (m *EncodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EncodeRequest) XXX_Merge

func (m *EncodeRequest) XXX_Merge(src proto.Message)

func (*EncodeRequest) XXX_Size

func (m *EncodeRequest) XXX_Size() int

func (*EncodeRequest) XXX_Unmarshal

func (m *EncodeRequest) XXX_Unmarshal(b []byte) error

type EncodeResponse

type EncodeResponse struct {
	Url                  string   `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Opus                 []byte   `protobuf:"bytes,2,opt,name=opus,proto3" json:"opus,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EncodeResponse) Descriptor

func (*EncodeResponse) Descriptor() ([]byte, []int)

func (*EncodeResponse) GetOpus

func (m *EncodeResponse) GetOpus() []byte

func (*EncodeResponse) GetUrl

func (m *EncodeResponse) GetUrl() string

func (*EncodeResponse) ProtoMessage

func (*EncodeResponse) ProtoMessage()

func (*EncodeResponse) Reset

func (m *EncodeResponse) Reset()

func (*EncodeResponse) String

func (m *EncodeResponse) String() string

func (*EncodeResponse) XXX_DiscardUnknown

func (m *EncodeResponse) XXX_DiscardUnknown()

func (*EncodeResponse) XXX_Marshal

func (m *EncodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EncodeResponse) XXX_Merge

func (m *EncodeResponse) XXX_Merge(src proto.Message)

func (*EncodeResponse) XXX_Size

func (m *EncodeResponse) XXX_Size() int

func (*EncodeResponse) XXX_Unmarshal

func (m *EncodeResponse) XXX_Unmarshal(b []byte) error

type EncodeService

type EncodeService interface {
	Encode(ctx context.Context, in *EncodeRequest, opts ...client.CallOption) (EncodeService_EncodeService, error)
}

func NewEncodeService

func NewEncodeService(name string, c client.Client) EncodeService

type EncodeServiceHandler

type EncodeServiceHandler interface {
	Encode(context.Context, *EncodeRequest, EncodeService_EncodeStream) error
}

type EncodeService_EncodeService

type EncodeService_EncodeService interface {
	SendMsg(interface{}) error
	RecvMsg(interface{}) error
	Close() error
	Recv() (*EncodeResponse, error)
}

type EncodeService_EncodeStream

type EncodeService_EncodeStream interface {
	SendMsg(interface{}) error
	RecvMsg(interface{}) error
	Close() error
	Send(*EncodeResponse) error
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL