mmbot

package
v0.0.0-...-5460fb0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

func (*Vba) GetVba

func (m *Vba) GetVba() string

func (*Vba) ProtoMessage

func (*Vba) ProtoMessage()

func (*Vba) Reset

func (m *Vba) Reset()

func (*Vba) String

func (m *Vba) String() string

func (*Vba) XXX_DiscardUnknown

func (m *Vba) XXX_DiscardUnknown()

func (*Vba) XXX_Marshal

func (m *Vba) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Vba) XXX_Merge

func (m *Vba) XXX_Merge(src proto.Message)

func (*Vba) XXX_Size

func (m *Vba) XXX_Size() int

func (*Vba) XXX_Unmarshal

func (m *Vba) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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