pb

package
v0.0.0-...-54d1621 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_internal_iex_pb_iex_proto protoreflect.FileDescriptor

Functions

func RegisterIEXServer

func RegisterIEXServer(s *grpc.Server, srv IEXServer)

Types

type GetCompanyRequest

type GetCompanyRequest struct {
	Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCompanyRequest) Descriptor deprecated

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

Deprecated: Use GetCompanyRequest.ProtoReflect.Descriptor instead.

func (*GetCompanyRequest) GetSymbol

func (x *GetCompanyRequest) GetSymbol() string

func (*GetCompanyRequest) ProtoMessage

func (*GetCompanyRequest) ProtoMessage()

func (*GetCompanyRequest) ProtoReflect

func (x *GetCompanyRequest) ProtoReflect() protoreflect.Message

func (*GetCompanyRequest) Reset

func (x *GetCompanyRequest) Reset()

func (*GetCompanyRequest) String

func (x *GetCompanyRequest) String() string

type GetCompanyResponse

type GetCompanyResponse struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCompanyResponse) Descriptor deprecated

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

Deprecated: Use GetCompanyResponse.ProtoReflect.Descriptor instead.

func (*GetCompanyResponse) GetName

func (x *GetCompanyResponse) GetName() string

func (*GetCompanyResponse) ProtoMessage

func (*GetCompanyResponse) ProtoMessage()

func (*GetCompanyResponse) ProtoReflect

func (x *GetCompanyResponse) ProtoReflect() protoreflect.Message

func (*GetCompanyResponse) Reset

func (x *GetCompanyResponse) Reset()

func (*GetCompanyResponse) String

func (x *GetCompanyResponse) String() string

type IEXClient

type IEXClient interface {
	GetCompany(ctx context.Context, in *GetCompanyRequest, opts ...grpc.CallOption) (*GetCompanyResponse, error)
}

IEXClient is the client API for IEX service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewIEXClient

func NewIEXClient(cc grpc.ClientConnInterface) IEXClient

type IEXServer

type IEXServer interface {
	GetCompany(context.Context, *GetCompanyRequest) (*GetCompanyResponse, error)
}

IEXServer is the server API for IEX service.

type UnimplementedIEXServer

type UnimplementedIEXServer struct {
}

UnimplementedIEXServer can be embedded to have forward compatible implementations.

func (*UnimplementedIEXServer) GetCompany

Jump to

Keyboard shortcuts

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