greetingspb

package
v0.0.0-...-b06881b Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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