pb

package
v0.0.0-...-4a4870b Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

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 AllsparkServer interface {
	Incoming(context.Context, *Params) (*Msg, error)
}

type Msg

type Msg struct {
	Response string `protobuf:"bytes,1,opt,name=response" json:"response,omitempty"`
}

func (*Msg) Descriptor

func (*Msg) Descriptor() ([]byte, []int)

func (*Msg) GetResponse

func (m *Msg) GetResponse() string

func (*Msg) ProtoMessage

func (*Msg) ProtoMessage()

func (*Msg) Reset

func (m *Msg) Reset()

func (*Msg) String

func (m *Msg) String() string

type Params

type Params struct {
}

func (*Params) Descriptor

func (*Params) Descriptor() ([]byte, []int)

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) String

func (m *Params) String() string

Jump to

Keyboard shortcuts

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