Documentation ¶
Index ¶
- Variables
- func RegisterBifrostGrpcServer(s *grpc.Server, srv BifrostGrpcServer)
- type BifrostGrpcClient
- type BifrostGrpcServer
- type Code
- type PingReq
- func (*PingReq) Descriptor() ([]byte, []int)
- func (*PingReq) ProtoMessage()
- func (m *PingReq) Reset()
- func (m *PingReq) String() string
- func (m *PingReq) XXX_DiscardUnknown()
- func (m *PingReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PingReq) XXX_Merge(src proto.Message)
- func (m *PingReq) XXX_Size() int
- func (m *PingReq) XXX_Unmarshal(b []byte) error
- type PingResp
- func (*PingResp) Descriptor() ([]byte, []int)
- func (*PingResp) ProtoMessage()
- func (m *PingResp) Reset()
- func (m *PingResp) String() string
- func (m *PingResp) XXX_DiscardUnknown()
- func (m *PingResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PingResp) XXX_Merge(src proto.Message)
- func (m *PingResp) XXX_Size() int
- func (m *PingResp) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Code_name = map[int32]string{
0: "UNKNOWN",
200: "SUCCESS",
400: "BAD_REQUEST",
500: "INTERNAL_SERVER_ERROR",
}
View Source
var Code_value = map[string]int32{
"UNKNOWN": 0,
"SUCCESS": 200,
"BAD_REQUEST": 400,
"INTERNAL_SERVER_ERROR": 500,
}
Functions ¶
func RegisterBifrostGrpcServer ¶
func RegisterBifrostGrpcServer(s *grpc.Server, srv BifrostGrpcServer)
Types ¶
type BifrostGrpcClient ¶
type BifrostGrpcClient interface {
Ping(ctx context.Context, in *PingReq, opts ...grpc.CallOption) (*PingResp, error)
}
BifrostGrpcClient is the client API for BifrostGrpc service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewBifrostGrpcClient ¶
func NewBifrostGrpcClient(cc *grpc.ClientConn) BifrostGrpcClient
type BifrostGrpcServer ¶
BifrostGrpcServer is the server API for BifrostGrpc service.
type PingReq ¶
type PingReq struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PingReq) Descriptor ¶
func (*PingReq) ProtoMessage ¶
func (*PingReq) ProtoMessage()
func (*PingReq) XXX_DiscardUnknown ¶
func (m *PingReq) XXX_DiscardUnknown()
func (*PingReq) XXX_Marshal ¶
func (*PingReq) XXX_Unmarshal ¶
type PingResp ¶
type PingResp struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PingResp) Descriptor ¶
func (*PingResp) ProtoMessage ¶
func (*PingResp) ProtoMessage()
func (*PingResp) XXX_DiscardUnknown ¶
func (m *PingResp) XXX_DiscardUnknown()
func (*PingResp) XXX_Marshal ¶
func (*PingResp) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.