Documentation ¶
Overview ¶
Package pb is a generated protocol buffer package.
It is generated from these files:
allspark.proto
It has these top-level messages:
Params Msg
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterAllsparkServer ¶
func RegisterAllsparkServer(s *grpc.Server, srv AllsparkServer)
Types ¶
type AllsparkClient ¶
type AllsparkClient interface {
Incoming(ctx context.Context, in *Params, opts ...grpc.CallOption) (*Msg, error)
}
func NewAllsparkClient ¶
func NewAllsparkClient(cc *grpc.ClientConn) AllsparkClient
type AllsparkServer ¶
type Msg ¶
type Msg struct {
Response string `protobuf:"bytes,1,opt,name=response" json:"response,omitempty"`
}
func (*Msg) Descriptor ¶
func (*Msg) GetResponse ¶
func (*Msg) ProtoMessage ¶
func (*Msg) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.