Documentation
¶
Index ¶
- func RegisterGrpcDownstreamServer(s *grpc.Server, srv GrpcDownstreamServer)
- type GetServiceDocRequest
- func (*GetServiceDocRequest) Descriptor() ([]byte, []int)
- func (m *GetServiceDocRequest) GetDocid() string
- func (*GetServiceDocRequest) ProtoMessage()
- func (m *GetServiceDocRequest) Reset()
- func (m *GetServiceDocRequest) String() string
- func (m *GetServiceDocRequest) XXX_DiscardUnknown()
- func (m *GetServiceDocRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetServiceDocRequest) XXX_Merge(src proto.Message)
- func (m *GetServiceDocRequest) XXX_Size() int
- func (m *GetServiceDocRequest) XXX_Unmarshal(b []byte) error
- type GetServiceDocResponse
- func (*GetServiceDocResponse) Descriptor() ([]byte, []int)
- func (m *GetServiceDocResponse) GetServiceDoc() *ServiceDoc
- func (*GetServiceDocResponse) ProtoMessage()
- func (m *GetServiceDocResponse) Reset()
- func (m *GetServiceDocResponse) String() string
- func (m *GetServiceDocResponse) XXX_DiscardUnknown()
- func (m *GetServiceDocResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetServiceDocResponse) XXX_Merge(src proto.Message)
- func (m *GetServiceDocResponse) XXX_Size() int
- func (m *GetServiceDocResponse) XXX_Unmarshal(b []byte) error
- type GrpcDownstreamClient
- type GrpcDownstreamServer
- type ServiceDoc
- func (*ServiceDoc) Descriptor() ([]byte, []int)
- func (m *ServiceDoc) GetOpenapi() string
- func (m *ServiceDoc) GetSwagger() string
- func (*ServiceDoc) ProtoMessage()
- func (m *ServiceDoc) Reset()
- func (m *ServiceDoc) String() string
- func (m *ServiceDoc) XXX_DiscardUnknown()
- func (m *ServiceDoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServiceDoc) XXX_Merge(src proto.Message)
- func (m *ServiceDoc) XXX_Size() int
- func (m *ServiceDoc) XXX_Unmarshal(b []byte) error
- type UnimplementedGrpcDownstreamServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterGrpcDownstreamServer ¶
func RegisterGrpcDownstreamServer(s *grpc.Server, srv GrpcDownstreamServer)
Types ¶
type GetServiceDocRequest ¶
type GetServiceDocRequest struct { Docid string `protobuf:"bytes,1,opt,name=docid,proto3" json:"docid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetServiceDocRequest) Descriptor ¶
func (*GetServiceDocRequest) Descriptor() ([]byte, []int)
func (*GetServiceDocRequest) GetDocid ¶
func (m *GetServiceDocRequest) GetDocid() string
func (*GetServiceDocRequest) ProtoMessage ¶
func (*GetServiceDocRequest) ProtoMessage()
func (*GetServiceDocRequest) Reset ¶
func (m *GetServiceDocRequest) Reset()
func (*GetServiceDocRequest) String ¶
func (m *GetServiceDocRequest) String() string
func (*GetServiceDocRequest) XXX_DiscardUnknown ¶
func (m *GetServiceDocRequest) XXX_DiscardUnknown()
func (*GetServiceDocRequest) XXX_Marshal ¶
func (m *GetServiceDocRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetServiceDocRequest) XXX_Merge ¶
func (m *GetServiceDocRequest) XXX_Merge(src proto.Message)
func (*GetServiceDocRequest) XXX_Size ¶
func (m *GetServiceDocRequest) XXX_Size() int
func (*GetServiceDocRequest) XXX_Unmarshal ¶
func (m *GetServiceDocRequest) XXX_Unmarshal(b []byte) error
type GetServiceDocResponse ¶
type GetServiceDocResponse struct { ServiceDoc *ServiceDoc `protobuf:"bytes,1,opt,name=serviceDoc,proto3" json:"serviceDoc,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetServiceDocResponse) Descriptor ¶
func (*GetServiceDocResponse) Descriptor() ([]byte, []int)
func (*GetServiceDocResponse) GetServiceDoc ¶
func (m *GetServiceDocResponse) GetServiceDoc() *ServiceDoc
func (*GetServiceDocResponse) ProtoMessage ¶
func (*GetServiceDocResponse) ProtoMessage()
func (*GetServiceDocResponse) Reset ¶
func (m *GetServiceDocResponse) Reset()
func (*GetServiceDocResponse) String ¶
func (m *GetServiceDocResponse) String() string
func (*GetServiceDocResponse) XXX_DiscardUnknown ¶
func (m *GetServiceDocResponse) XXX_DiscardUnknown()
func (*GetServiceDocResponse) XXX_Marshal ¶
func (m *GetServiceDocResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetServiceDocResponse) XXX_Merge ¶
func (m *GetServiceDocResponse) XXX_Merge(src proto.Message)
func (*GetServiceDocResponse) XXX_Size ¶
func (m *GetServiceDocResponse) XXX_Size() int
func (*GetServiceDocResponse) XXX_Unmarshal ¶
func (m *GetServiceDocResponse) XXX_Unmarshal(b []byte) error
type GrpcDownstreamClient ¶
type GrpcDownstreamClient interface {
GetServiceDoc(ctx context.Context, in *GetServiceDocRequest, opts ...grpc.CallOption) (*GetServiceDocResponse, error)
}
GrpcDownstreamClient is the client API for GrpcDownstream service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewGrpcDownstreamClient ¶
func NewGrpcDownstreamClient(cc grpc.ClientConnInterface) GrpcDownstreamClient
type GrpcDownstreamServer ¶
type GrpcDownstreamServer interface {
GetServiceDoc(context.Context, *GetServiceDocRequest) (*GetServiceDocResponse, error)
}
GrpcDownstreamServer is the server API for GrpcDownstream service.
type ServiceDoc ¶
type ServiceDoc struct { Swagger string `protobuf:"bytes,1,opt,name=swagger,proto3" json:"swagger,omitempty"` Openapi string `protobuf:"bytes,2,opt,name=openapi,proto3" json:"openapi,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ServiceDoc) Descriptor ¶
func (*ServiceDoc) Descriptor() ([]byte, []int)
func (*ServiceDoc) GetOpenapi ¶
func (m *ServiceDoc) GetOpenapi() string
func (*ServiceDoc) GetSwagger ¶
func (m *ServiceDoc) GetSwagger() string
func (*ServiceDoc) ProtoMessage ¶
func (*ServiceDoc) ProtoMessage()
func (*ServiceDoc) Reset ¶
func (m *ServiceDoc) Reset()
func (*ServiceDoc) String ¶
func (m *ServiceDoc) String() string
func (*ServiceDoc) XXX_DiscardUnknown ¶
func (m *ServiceDoc) XXX_DiscardUnknown()
func (*ServiceDoc) XXX_Marshal ¶
func (m *ServiceDoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServiceDoc) XXX_Merge ¶
func (m *ServiceDoc) XXX_Merge(src proto.Message)
func (*ServiceDoc) XXX_Size ¶
func (m *ServiceDoc) XXX_Size() int
func (*ServiceDoc) XXX_Unmarshal ¶
func (m *ServiceDoc) XXX_Unmarshal(b []byte) error
type UnimplementedGrpcDownstreamServer ¶
type UnimplementedGrpcDownstreamServer struct { }
UnimplementedGrpcDownstreamServer can be embedded to have forward compatible implementations.
func (*UnimplementedGrpcDownstreamServer) GetServiceDoc ¶
func (*UnimplementedGrpcDownstreamServer) GetServiceDoc(ctx context.Context, req *GetServiceDocRequest) (*GetServiceDocResponse, error)
Click to show internal directories.
Click to hide internal directories.