Documentation ¶
Index ¶
- Variables
- type GetGreetingRequest
- type GetGreetingResponse
- func (*GetGreetingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetGreetingResponse) GetGreeting() string
- func (*GetGreetingResponse) ProtoMessage()
- func (x *GetGreetingResponse) ProtoReflect() protoreflect.Message
- func (x *GetGreetingResponse) Reset()
- func (x *GetGreetingResponse) String() string
- type GetNameRequest
- type GetNameResponse
- type GreetingsImpl
- type SayGreetingRequest
- func (*SayGreetingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SayGreetingRequest) GetGreeting() string
- func (x *SayGreetingRequest) GetName() string
- func (*SayGreetingRequest) ProtoMessage()
- func (x *SayGreetingRequest) ProtoReflect() protoreflect.Message
- func (x *SayGreetingRequest) Reset()
- func (x *SayGreetingRequest) String() string
- type SayGreetingResponse
- func (*SayGreetingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SayGreetingResponse) GetGreeting() string
- func (*SayGreetingResponse) ProtoMessage()
- func (x *SayGreetingResponse) ProtoReflect() protoreflect.Message
- func (x *SayGreetingResponse) Reset()
- func (x *SayGreetingResponse) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_greetingspb_greetings_proto protoreflect.FileDescriptor
View Source
var Greetings greetings
Greetings is for workflows to call for executing activities.
Greetings activities.
Functions ¶
This section is empty.
Types ¶
type GetGreetingRequest ¶
type GetGreetingRequest struct {
// contains filtered or unexported fields
}
func (*GetGreetingRequest) Descriptor
deprecated
func (*GetGreetingRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetGreetingRequest.ProtoReflect.Descriptor instead.
func (*GetGreetingRequest) ProtoMessage ¶
func (*GetGreetingRequest) ProtoMessage()
func (*GetGreetingRequest) ProtoReflect ¶
func (x *GetGreetingRequest) ProtoReflect() protoreflect.Message
func (*GetGreetingRequest) Reset ¶
func (x *GetGreetingRequest) Reset()
func (*GetGreetingRequest) String ¶
func (x *GetGreetingRequest) String() string
type GetGreetingResponse ¶
type GetGreetingResponse struct { Greeting string `protobuf:"bytes,1,opt,name=greeting,proto3" json:"greeting,omitempty"` // contains filtered or unexported fields }
func (*GetGreetingResponse) Descriptor
deprecated
func (*GetGreetingResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetGreetingResponse.ProtoReflect.Descriptor instead.
func (*GetGreetingResponse) GetGreeting ¶
func (x *GetGreetingResponse) GetGreeting() string
func (*GetGreetingResponse) ProtoMessage ¶
func (*GetGreetingResponse) ProtoMessage()
func (*GetGreetingResponse) ProtoReflect ¶
func (x *GetGreetingResponse) ProtoReflect() protoreflect.Message
func (*GetGreetingResponse) Reset ¶
func (x *GetGreetingResponse) Reset()
func (*GetGreetingResponse) String ¶
func (x *GetGreetingResponse) String() string
type GetNameRequest ¶
type GetNameRequest struct {
// contains filtered or unexported fields
}
func (*GetNameRequest) Descriptor
deprecated
func (*GetNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNameRequest.ProtoReflect.Descriptor instead.
func (*GetNameRequest) ProtoMessage ¶
func (*GetNameRequest) ProtoMessage()
func (*GetNameRequest) ProtoReflect ¶
func (x *GetNameRequest) ProtoReflect() protoreflect.Message
func (*GetNameRequest) Reset ¶
func (x *GetNameRequest) Reset()
func (*GetNameRequest) String ¶
func (x *GetNameRequest) String() string
type GetNameResponse ¶
type GetNameResponse struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetNameResponse) Descriptor
deprecated
func (*GetNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNameResponse.ProtoReflect.Descriptor instead.
func (*GetNameResponse) GetName ¶
func (x *GetNameResponse) GetName() string
func (*GetNameResponse) ProtoMessage ¶
func (*GetNameResponse) ProtoMessage()
func (*GetNameResponse) ProtoReflect ¶
func (x *GetNameResponse) ProtoReflect() protoreflect.Message
func (*GetNameResponse) Reset ¶
func (x *GetNameResponse) Reset()
func (*GetNameResponse) String ¶
func (x *GetNameResponse) String() string
type GreetingsImpl ¶
type GreetingsImpl interface { // Get the greeting. GetGreeting(context.Context, *GetGreetingRequest) (*GetGreetingResponse, error) // Get the name. GetName(context.Context, *GetNameRequest) (*GetNameResponse, error) // Say the greeting. SayGreeting(context.Context, *SayGreetingRequest) (*SayGreetingResponse, error) }
GreetingsImpl is for activity implementations on workers. The struct that implements this can be passed to RegisterActivity.
Greetings activities.
type SayGreetingRequest ¶
type SayGreetingRequest struct { Greeting string `protobuf:"bytes,1,opt,name=greeting,proto3" json:"greeting,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*SayGreetingRequest) Descriptor
deprecated
func (*SayGreetingRequest) Descriptor() ([]byte, []int)
Deprecated: Use SayGreetingRequest.ProtoReflect.Descriptor instead.
func (*SayGreetingRequest) GetGreeting ¶
func (x *SayGreetingRequest) GetGreeting() string
func (*SayGreetingRequest) GetName ¶
func (x *SayGreetingRequest) GetName() string
func (*SayGreetingRequest) ProtoMessage ¶
func (*SayGreetingRequest) ProtoMessage()
func (*SayGreetingRequest) ProtoReflect ¶
func (x *SayGreetingRequest) ProtoReflect() protoreflect.Message
func (*SayGreetingRequest) Reset ¶
func (x *SayGreetingRequest) Reset()
func (*SayGreetingRequest) String ¶
func (x *SayGreetingRequest) String() string
type SayGreetingResponse ¶
type SayGreetingResponse struct { Greeting string `protobuf:"bytes,1,opt,name=greeting,proto3" json:"greeting,omitempty"` // contains filtered or unexported fields }
func (*SayGreetingResponse) Descriptor
deprecated
func (*SayGreetingResponse) Descriptor() ([]byte, []int)
Deprecated: Use SayGreetingResponse.ProtoReflect.Descriptor instead.
func (*SayGreetingResponse) GetGreeting ¶
func (x *SayGreetingResponse) GetGreeting() string
func (*SayGreetingResponse) ProtoMessage ¶
func (*SayGreetingResponse) ProtoMessage()
func (*SayGreetingResponse) ProtoReflect ¶
func (x *SayGreetingResponse) ProtoReflect() protoreflect.Message
func (*SayGreetingResponse) Reset ¶
func (x *SayGreetingResponse) Reset()
func (*SayGreetingResponse) String ¶
func (x *SayGreetingResponse) String() string
Click to show internal directories.
Click to hide internal directories.