Documentation ¶
Index ¶
- Variables
- func RegisterIEXServer(s *grpc.Server, srv IEXServer)
- type GetCompanyRequest
- type GetCompanyResponse
- func (*GetCompanyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCompanyResponse) GetName() string
- func (*GetCompanyResponse) ProtoMessage()
- func (x *GetCompanyResponse) ProtoReflect() protoreflect.Message
- func (x *GetCompanyResponse) Reset()
- func (x *GetCompanyResponse) String() string
- type IEXClient
- type IEXServer
- type UnimplementedIEXServer
Constants ¶
This section is empty.
Variables ¶
View Source
var File_internal_iex_pb_iex_proto protoreflect.FileDescriptor
Functions ¶
func RegisterIEXServer ¶
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 ¶
func (*UnimplementedIEXServer) GetCompany(context.Context, *GetCompanyRequest) (*GetCompanyResponse, error)
Click to show internal directories.
Click to hide internal directories.