Documentation ¶
Index ¶
- func RegisterMmbotServer(s *grpc.Server, srv MmbotServer)
- type MmbotClient
- type MmbotServer
- type Prediction
- func (*Prediction) Descriptor() ([]byte, []int)
- func (m *Prediction) GetPrediction() string
- func (*Prediction) ProtoMessage()
- func (m *Prediction) Reset()
- func (m *Prediction) String() string
- func (m *Prediction) XXX_DiscardUnknown()
- func (m *Prediction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Prediction) XXX_Merge(src proto.Message)
- func (m *Prediction) XXX_Size() int
- func (m *Prediction) XXX_Unmarshal(b []byte) error
- type Vba
- func (*Vba) Descriptor() ([]byte, []int)
- func (m *Vba) GetVba() string
- func (*Vba) ProtoMessage()
- func (m *Vba) Reset()
- func (m *Vba) String() string
- func (m *Vba) XXX_DiscardUnknown()
- func (m *Vba) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Vba) XXX_Merge(src proto.Message)
- func (m *Vba) XXX_Size() int
- func (m *Vba) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterMmbotServer ¶
func RegisterMmbotServer(s *grpc.Server, srv MmbotServer)
Types ¶
type MmbotClient ¶
type MmbotClient interface {
SendVba(ctx context.Context, in *Vba, opts ...grpc.CallOption) (*Prediction, error)
}
MmbotClient is the client API for Mmbot service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMmbotClient ¶
func NewMmbotClient(cc *grpc.ClientConn) MmbotClient
type MmbotServer ¶
type MmbotServer interface {
SendVba(context.Context, *Vba) (*Prediction, error)
}
MmbotServer is the server API for Mmbot service.
type Prediction ¶
type Prediction struct { Prediction string `protobuf:"bytes,1,opt,name=prediction,proto3" json:"prediction,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Prediction) Descriptor ¶
func (*Prediction) Descriptor() ([]byte, []int)
func (*Prediction) GetPrediction ¶
func (m *Prediction) GetPrediction() string
func (*Prediction) ProtoMessage ¶
func (*Prediction) ProtoMessage()
func (*Prediction) Reset ¶
func (m *Prediction) Reset()
func (*Prediction) String ¶
func (m *Prediction) String() string
func (*Prediction) XXX_DiscardUnknown ¶
func (m *Prediction) XXX_DiscardUnknown()
func (*Prediction) XXX_Marshal ¶
func (m *Prediction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Prediction) XXX_Merge ¶
func (m *Prediction) XXX_Merge(src proto.Message)
func (*Prediction) XXX_Size ¶
func (m *Prediction) XXX_Size() int
func (*Prediction) XXX_Unmarshal ¶
func (m *Prediction) XXX_Unmarshal(b []byte) error
type Vba ¶
type Vba struct { Vba string `protobuf:"bytes,1,opt,name=vba,proto3" json:"vba,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Vba) Descriptor ¶
func (*Vba) ProtoMessage ¶
func (*Vba) ProtoMessage()
func (*Vba) XXX_DiscardUnknown ¶
func (m *Vba) XXX_DiscardUnknown()
func (*Vba) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.