Documentation
¶
Index ¶
- Variables
- func RegisterHttpApiServer(s grpc.ServiceRegistrar, srv HttpApiServer)
- type ClientReceiveActionRequest
- func (*ClientReceiveActionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ClientReceiveActionRequest) GetEndpointName() string
- func (x *ClientReceiveActionRequest) GetHeaders() map[string]string
- func (x *ClientReceiveActionRequest) GetName() string
- func (x *ClientReceiveActionRequest) GetPayload() string
- func (x *ClientReceiveActionRequest) GetPayloadType() PayloadType
- func (x *ClientReceiveActionRequest) GetStatusCode() int32
- func (*ClientReceiveActionRequest) ProtoMessage()
- func (x *ClientReceiveActionRequest) ProtoReflect() protoreflect.Message
- func (x *ClientReceiveActionRequest) Reset()
- func (x *ClientReceiveActionRequest) String() string
- type ClientReceiveActionResponse
- func (*ClientReceiveActionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ClientReceiveActionResponse) GetError() string
- func (*ClientReceiveActionResponse) ProtoMessage()
- func (x *ClientReceiveActionResponse) ProtoReflect() protoreflect.Message
- func (x *ClientReceiveActionResponse) Reset()
- func (x *ClientReceiveActionResponse) String() string
- type ClientSendActionRequest
- func (*ClientSendActionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ClientSendActionRequest) GetEndpointName() string
- func (x *ClientSendActionRequest) GetHeaders() map[string]string
- func (x *ClientSendActionRequest) GetMethod() string
- func (x *ClientSendActionRequest) GetName() string
- func (x *ClientSendActionRequest) GetPath() []string
- func (x *ClientSendActionRequest) GetPayload() string
- func (x *ClientSendActionRequest) GetQueryParams() map[string]*StringsList
- func (x *ClientSendActionRequest) GetUrl() string
- func (*ClientSendActionRequest) ProtoMessage()
- func (x *ClientSendActionRequest) ProtoReflect() protoreflect.Message
- func (x *ClientSendActionRequest) Reset()
- func (x *ClientSendActionRequest) String() string
- type ClientSendActionResponse
- func (*ClientSendActionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ClientSendActionResponse) GetError() string
- func (*ClientSendActionResponse) ProtoMessage()
- func (x *ClientSendActionResponse) ProtoReflect() protoreflect.Message
- func (x *ClientSendActionResponse) Reset()
- func (x *ClientSendActionResponse) String() string
- type HttpApiClient
- type HttpApiServer
- type InitClientRequest
- func (*InitClientRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InitClientRequest) GetBaseUrl() string
- func (x *InitClientRequest) GetContentType() string
- func (x *InitClientRequest) GetName() string
- func (x *InitClientRequest) GetTimeoutSeconds() int32
- func (*InitClientRequest) ProtoMessage()
- func (x *InitClientRequest) ProtoReflect() protoreflect.Message
- func (x *InitClientRequest) Reset()
- func (x *InitClientRequest) String() string
- type InitClientResponse
- func (*InitClientResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InitClientResponse) GetError() string
- func (*InitClientResponse) ProtoMessage()
- func (x *InitClientResponse) ProtoReflect() protoreflect.Message
- func (x *InitClientResponse) Reset()
- func (x *InitClientResponse) String() string
- type InitServerRequest
- func (*InitServerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InitServerRequest) GetContentType() string
- func (x *InitServerRequest) GetName() string
- func (x *InitServerRequest) GetPort() int32
- func (x *InitServerRequest) GetTimeoutSeconds() int32
- func (*InitServerRequest) ProtoMessage()
- func (x *InitServerRequest) ProtoReflect() protoreflect.Message
- func (x *InitServerRequest) Reset()
- func (x *InitServerRequest) String() string
- type InitServerResponse
- func (*InitServerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InitServerResponse) GetError() string
- func (*InitServerResponse) ProtoMessage()
- func (x *InitServerResponse) ProtoReflect() protoreflect.Message
- func (x *InitServerResponse) Reset()
- func (x *InitServerResponse) String() string
- type PayloadType
- func (PayloadType) Descriptor() protoreflect.EnumDescriptor
- func (x PayloadType) Enum() *PayloadType
- func (PayloadType) EnumDescriptor() ([]byte, []int)deprecated
- func (x PayloadType) Number() protoreflect.EnumNumber
- func (x PayloadType) String() string
- func (PayloadType) Type() protoreflect.EnumType
- type ServerReceiveActionRequest
- func (*ServerReceiveActionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ServerReceiveActionRequest) GetEndpointName() string
- func (x *ServerReceiveActionRequest) GetHeaders() map[string]string
- func (x *ServerReceiveActionRequest) GetMethod() string
- func (x *ServerReceiveActionRequest) GetName() string
- func (x *ServerReceiveActionRequest) GetPath() []string
- func (x *ServerReceiveActionRequest) GetPayload() string
- func (x *ServerReceiveActionRequest) GetPayloadType() PayloadType
- func (x *ServerReceiveActionRequest) GetQueryParams() map[string]*StringsList
- func (x *ServerReceiveActionRequest) GetUrl() string
- func (*ServerReceiveActionRequest) ProtoMessage()
- func (x *ServerReceiveActionRequest) ProtoReflect() protoreflect.Message
- func (x *ServerReceiveActionRequest) Reset()
- func (x *ServerReceiveActionRequest) String() string
- type ServerReceiveActionResponse
- func (*ServerReceiveActionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ServerReceiveActionResponse) GetError() string
- func (*ServerReceiveActionResponse) ProtoMessage()
- func (x *ServerReceiveActionResponse) ProtoReflect() protoreflect.Message
- func (x *ServerReceiveActionResponse) Reset()
- func (x *ServerReceiveActionResponse) String() string
- type ServerSendActionRequest
- func (*ServerSendActionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ServerSendActionRequest) GetEndpointName() string
- func (x *ServerSendActionRequest) GetHeaders() map[string]string
- func (x *ServerSendActionRequest) GetName() string
- func (x *ServerSendActionRequest) GetPayload() string
- func (x *ServerSendActionRequest) GetStatusCode() int32
- func (*ServerSendActionRequest) ProtoMessage()
- func (x *ServerSendActionRequest) ProtoReflect() protoreflect.Message
- func (x *ServerSendActionRequest) Reset()
- func (x *ServerSendActionRequest) String() string
- type ServerSendActionResponse
- func (*ServerSendActionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ServerSendActionResponse) GetError() string
- func (*ServerSendActionResponse) ProtoMessage()
- func (x *ServerSendActionResponse) ProtoReflect() protoreflect.Message
- func (x *ServerSendActionResponse) Reset()
- func (x *ServerSendActionResponse) String() string
- type StringsList
- type UnimplementedHttpApiServer
- func (UnimplementedHttpApiServer) ClientReceiveAction(context.Context, *ClientReceiveActionRequest) (*ClientReceiveActionResponse, error)
- func (UnimplementedHttpApiServer) ClientSendAction(context.Context, *ClientSendActionRequest) (*ClientSendActionResponse, error)
- func (UnimplementedHttpApiServer) InitClientEndpoint(context.Context, *InitClientRequest) (*InitClientResponse, error)
- func (UnimplementedHttpApiServer) InitServerEndpoint(context.Context, *InitServerRequest) (*InitServerResponse, error)
- func (UnimplementedHttpApiServer) ServerReceiveAction(context.Context, *ServerReceiveActionRequest) (*ServerReceiveActionResponse, error)
- func (UnimplementedHttpApiServer) ServerSendAction(context.Context, *ServerSendActionRequest) (*ServerSendActionResponse, error)
- type UnsafeHttpApiServer
Constants ¶
This section is empty.
Variables ¶
var ( PayloadType_name = map[int32]string{ 0: "Plaintext", 1: "Json", } PayloadType_value = map[string]int32{ "Plaintext": 0, "Json": 1, } )
Enum value maps for PayloadType.
var File_application_api_http_http_proto protoreflect.FileDescriptor
var HttpApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "HttpApi", HandlerType: (*HttpApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "InitClientEndpoint", Handler: _HttpApi_InitClientEndpoint_Handler, }, { MethodName: "InitServerEndpoint", Handler: _HttpApi_InitServerEndpoint_Handler, }, { MethodName: "ClientSendAction", Handler: _HttpApi_ClientSendAction_Handler, }, { MethodName: "ClientReceiveAction", Handler: _HttpApi_ClientReceiveAction_Handler, }, { MethodName: "ServerSendAction", Handler: _HttpApi_ServerSendAction_Handler, }, { MethodName: "ServerReceiveAction", Handler: _HttpApi_ServerReceiveAction_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "application/api/http/http.proto", }
HttpApi_ServiceDesc is the grpc.ServiceDesc for HttpApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterHttpApiServer ¶
func RegisterHttpApiServer(s grpc.ServiceRegistrar, srv HttpApiServer)
Types ¶
type ClientReceiveActionRequest ¶
type ClientReceiveActionRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` PayloadType PayloadType `protobuf:"varint,2,opt,name=payloadType,proto3,enum=PayloadType" json:"payloadType,omitempty"` StatusCode int32 `protobuf:"varint,3,opt,name=statusCode,proto3" json:"statusCode,omitempty"` Headers map[string]string `` /* 155-byte string literal not displayed */ Payload string `protobuf:"bytes,5,opt,name=payload,proto3" json:"payload,omitempty"` EndpointName string `protobuf:"bytes,6,opt,name=endpointName,proto3" json:"endpointName,omitempty"` // contains filtered or unexported fields }
func (*ClientReceiveActionRequest) Descriptor
deprecated
func (*ClientReceiveActionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ClientReceiveActionRequest.ProtoReflect.Descriptor instead.
func (*ClientReceiveActionRequest) GetEndpointName ¶
func (x *ClientReceiveActionRequest) GetEndpointName() string
func (*ClientReceiveActionRequest) GetHeaders ¶
func (x *ClientReceiveActionRequest) GetHeaders() map[string]string
func (*ClientReceiveActionRequest) GetName ¶
func (x *ClientReceiveActionRequest) GetName() string
func (*ClientReceiveActionRequest) GetPayload ¶
func (x *ClientReceiveActionRequest) GetPayload() string
func (*ClientReceiveActionRequest) GetPayloadType ¶
func (x *ClientReceiveActionRequest) GetPayloadType() PayloadType
func (*ClientReceiveActionRequest) GetStatusCode ¶
func (x *ClientReceiveActionRequest) GetStatusCode() int32
func (*ClientReceiveActionRequest) ProtoMessage ¶
func (*ClientReceiveActionRequest) ProtoMessage()
func (*ClientReceiveActionRequest) ProtoReflect ¶
func (x *ClientReceiveActionRequest) ProtoReflect() protoreflect.Message
func (*ClientReceiveActionRequest) Reset ¶
func (x *ClientReceiveActionRequest) Reset()
func (*ClientReceiveActionRequest) String ¶
func (x *ClientReceiveActionRequest) String() string
type ClientReceiveActionResponse ¶
type ClientReceiveActionResponse struct { Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*ClientReceiveActionResponse) Descriptor
deprecated
func (*ClientReceiveActionResponse) Descriptor() ([]byte, []int)
Deprecated: Use ClientReceiveActionResponse.ProtoReflect.Descriptor instead.
func (*ClientReceiveActionResponse) GetError ¶
func (x *ClientReceiveActionResponse) GetError() string
func (*ClientReceiveActionResponse) ProtoMessage ¶
func (*ClientReceiveActionResponse) ProtoMessage()
func (*ClientReceiveActionResponse) ProtoReflect ¶
func (x *ClientReceiveActionResponse) ProtoReflect() protoreflect.Message
func (*ClientReceiveActionResponse) Reset ¶
func (x *ClientReceiveActionResponse) Reset()
func (*ClientReceiveActionResponse) String ¶
func (x *ClientReceiveActionResponse) String() string
type ClientSendActionRequest ¶
type ClientSendActionRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` Path []string `protobuf:"bytes,3,rep,name=path,proto3" json:"path,omitempty"` Method string `protobuf:"bytes,4,opt,name=method,proto3" json:"method,omitempty"` QueryParams map[string]*StringsList `` /* 182-byte string literal not displayed */ Headers map[string]string `` /* 155-byte string literal not displayed */ Payload string `protobuf:"bytes,7,opt,name=payload,proto3" json:"payload,omitempty"` EndpointName string `protobuf:"bytes,8,opt,name=endpoint_name,json=endpointName,proto3" json:"endpoint_name,omitempty"` // contains filtered or unexported fields }
func (*ClientSendActionRequest) Descriptor
deprecated
func (*ClientSendActionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ClientSendActionRequest.ProtoReflect.Descriptor instead.
func (*ClientSendActionRequest) GetEndpointName ¶
func (x *ClientSendActionRequest) GetEndpointName() string
func (*ClientSendActionRequest) GetHeaders ¶
func (x *ClientSendActionRequest) GetHeaders() map[string]string
func (*ClientSendActionRequest) GetMethod ¶
func (x *ClientSendActionRequest) GetMethod() string
func (*ClientSendActionRequest) GetName ¶
func (x *ClientSendActionRequest) GetName() string
func (*ClientSendActionRequest) GetPath ¶
func (x *ClientSendActionRequest) GetPath() []string
func (*ClientSendActionRequest) GetPayload ¶
func (x *ClientSendActionRequest) GetPayload() string
func (*ClientSendActionRequest) GetQueryParams ¶
func (x *ClientSendActionRequest) GetQueryParams() map[string]*StringsList
func (*ClientSendActionRequest) GetUrl ¶
func (x *ClientSendActionRequest) GetUrl() string
func (*ClientSendActionRequest) ProtoMessage ¶
func (*ClientSendActionRequest) ProtoMessage()
func (*ClientSendActionRequest) ProtoReflect ¶
func (x *ClientSendActionRequest) ProtoReflect() protoreflect.Message
func (*ClientSendActionRequest) Reset ¶
func (x *ClientSendActionRequest) Reset()
func (*ClientSendActionRequest) String ¶
func (x *ClientSendActionRequest) String() string
type ClientSendActionResponse ¶
type ClientSendActionResponse struct { Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*ClientSendActionResponse) Descriptor
deprecated
func (*ClientSendActionResponse) Descriptor() ([]byte, []int)
Deprecated: Use ClientSendActionResponse.ProtoReflect.Descriptor instead.
func (*ClientSendActionResponse) GetError ¶
func (x *ClientSendActionResponse) GetError() string
func (*ClientSendActionResponse) ProtoMessage ¶
func (*ClientSendActionResponse) ProtoMessage()
func (*ClientSendActionResponse) ProtoReflect ¶
func (x *ClientSendActionResponse) ProtoReflect() protoreflect.Message
func (*ClientSendActionResponse) Reset ¶
func (x *ClientSendActionResponse) Reset()
func (*ClientSendActionResponse) String ¶
func (x *ClientSendActionResponse) String() string
type HttpApiClient ¶
type HttpApiClient interface { InitClientEndpoint(ctx context.Context, in *InitClientRequest, opts ...grpc.CallOption) (*InitClientResponse, error) InitServerEndpoint(ctx context.Context, in *InitServerRequest, opts ...grpc.CallOption) (*InitServerResponse, error) ClientSendAction(ctx context.Context, in *ClientSendActionRequest, opts ...grpc.CallOption) (*ClientSendActionResponse, error) ClientReceiveAction(ctx context.Context, in *ClientReceiveActionRequest, opts ...grpc.CallOption) (*ClientReceiveActionResponse, error) ServerSendAction(ctx context.Context, in *ServerSendActionRequest, opts ...grpc.CallOption) (*ServerSendActionResponse, error) ServerReceiveAction(ctx context.Context, in *ServerReceiveActionRequest, opts ...grpc.CallOption) (*ServerReceiveActionResponse, error) }
HttpApiClient is the client API for HttpApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewHttpApiClient ¶
func NewHttpApiClient(cc grpc.ClientConnInterface) HttpApiClient
type HttpApiServer ¶
type HttpApiServer interface { InitClientEndpoint(context.Context, *InitClientRequest) (*InitClientResponse, error) InitServerEndpoint(context.Context, *InitServerRequest) (*InitServerResponse, error) ClientSendAction(context.Context, *ClientSendActionRequest) (*ClientSendActionResponse, error) ClientReceiveAction(context.Context, *ClientReceiveActionRequest) (*ClientReceiveActionResponse, error) ServerSendAction(context.Context, *ServerSendActionRequest) (*ServerSendActionResponse, error) ServerReceiveAction(context.Context, *ServerReceiveActionRequest) (*ServerReceiveActionResponse, error) // contains filtered or unexported methods }
HttpApiServer is the server API for HttpApi service. All implementations must embed UnimplementedHttpApiServer for forward compatibility
type InitClientRequest ¶
type InitClientRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` BaseUrl string `protobuf:"bytes,2,opt,name=base_url,json=baseUrl,proto3" json:"base_url,omitempty"` ContentType string `protobuf:"bytes,3,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` TimeoutSeconds int32 `protobuf:"varint,4,opt,name=timeout_seconds,json=timeoutSeconds,proto3" json:"timeout_seconds,omitempty"` // contains filtered or unexported fields }
func (*InitClientRequest) Descriptor
deprecated
func (*InitClientRequest) Descriptor() ([]byte, []int)
Deprecated: Use InitClientRequest.ProtoReflect.Descriptor instead.
func (*InitClientRequest) GetBaseUrl ¶
func (x *InitClientRequest) GetBaseUrl() string
func (*InitClientRequest) GetContentType ¶
func (x *InitClientRequest) GetContentType() string
func (*InitClientRequest) GetName ¶
func (x *InitClientRequest) GetName() string
func (*InitClientRequest) GetTimeoutSeconds ¶
func (x *InitClientRequest) GetTimeoutSeconds() int32
func (*InitClientRequest) ProtoMessage ¶
func (*InitClientRequest) ProtoMessage()
func (*InitClientRequest) ProtoReflect ¶
func (x *InitClientRequest) ProtoReflect() protoreflect.Message
func (*InitClientRequest) Reset ¶
func (x *InitClientRequest) Reset()
func (*InitClientRequest) String ¶
func (x *InitClientRequest) String() string
type InitClientResponse ¶
type InitClientResponse struct { Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*InitClientResponse) Descriptor
deprecated
func (*InitClientResponse) Descriptor() ([]byte, []int)
Deprecated: Use InitClientResponse.ProtoReflect.Descriptor instead.
func (*InitClientResponse) GetError ¶
func (x *InitClientResponse) GetError() string
func (*InitClientResponse) ProtoMessage ¶
func (*InitClientResponse) ProtoMessage()
func (*InitClientResponse) ProtoReflect ¶
func (x *InitClientResponse) ProtoReflect() protoreflect.Message
func (*InitClientResponse) Reset ¶
func (x *InitClientResponse) Reset()
func (*InitClientResponse) String ¶
func (x *InitClientResponse) String() string
type InitServerRequest ¶
type InitServerRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` ContentType string `protobuf:"bytes,3,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` TimeoutSeconds int32 `protobuf:"varint,4,opt,name=timeout_seconds,json=timeoutSeconds,proto3" json:"timeout_seconds,omitempty"` // contains filtered or unexported fields }
func (*InitServerRequest) Descriptor
deprecated
func (*InitServerRequest) Descriptor() ([]byte, []int)
Deprecated: Use InitServerRequest.ProtoReflect.Descriptor instead.
func (*InitServerRequest) GetContentType ¶
func (x *InitServerRequest) GetContentType() string
func (*InitServerRequest) GetName ¶
func (x *InitServerRequest) GetName() string
func (*InitServerRequest) GetPort ¶
func (x *InitServerRequest) GetPort() int32
func (*InitServerRequest) GetTimeoutSeconds ¶
func (x *InitServerRequest) GetTimeoutSeconds() int32
func (*InitServerRequest) ProtoMessage ¶
func (*InitServerRequest) ProtoMessage()
func (*InitServerRequest) ProtoReflect ¶
func (x *InitServerRequest) ProtoReflect() protoreflect.Message
func (*InitServerRequest) Reset ¶
func (x *InitServerRequest) Reset()
func (*InitServerRequest) String ¶
func (x *InitServerRequest) String() string
type InitServerResponse ¶
type InitServerResponse struct { Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*InitServerResponse) Descriptor
deprecated
func (*InitServerResponse) Descriptor() ([]byte, []int)
Deprecated: Use InitServerResponse.ProtoReflect.Descriptor instead.
func (*InitServerResponse) GetError ¶
func (x *InitServerResponse) GetError() string
func (*InitServerResponse) ProtoMessage ¶
func (*InitServerResponse) ProtoMessage()
func (*InitServerResponse) ProtoReflect ¶
func (x *InitServerResponse) ProtoReflect() protoreflect.Message
func (*InitServerResponse) Reset ¶
func (x *InitServerResponse) Reset()
func (*InitServerResponse) String ¶
func (x *InitServerResponse) String() string
type PayloadType ¶
type PayloadType int32
const ( PayloadType_Plaintext PayloadType = 0 PayloadType_Json PayloadType = 1 )
func (PayloadType) Descriptor ¶
func (PayloadType) Descriptor() protoreflect.EnumDescriptor
func (PayloadType) Enum ¶
func (x PayloadType) Enum() *PayloadType
func (PayloadType) EnumDescriptor
deprecated
func (PayloadType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PayloadType.Descriptor instead.
func (PayloadType) Number ¶
func (x PayloadType) Number() protoreflect.EnumNumber
func (PayloadType) String ¶
func (x PayloadType) String() string
func (PayloadType) Type ¶
func (PayloadType) Type() protoreflect.EnumType
type ServerReceiveActionRequest ¶
type ServerReceiveActionRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` Path []string `protobuf:"bytes,3,rep,name=path,proto3" json:"path,omitempty"` Method string `protobuf:"bytes,4,opt,name=method,proto3" json:"method,omitempty"` QueryParams map[string]*StringsList `` /* 182-byte string literal not displayed */ Headers map[string]string `` /* 155-byte string literal not displayed */ Payload string `protobuf:"bytes,7,opt,name=payload,proto3" json:"payload,omitempty"` PayloadType PayloadType `protobuf:"varint,8,opt,name=payloadType,proto3,enum=PayloadType" json:"payloadType,omitempty"` EndpointName string `protobuf:"bytes,9,opt,name=endpointName,proto3" json:"endpointName,omitempty"` // contains filtered or unexported fields }
func (*ServerReceiveActionRequest) Descriptor
deprecated
func (*ServerReceiveActionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ServerReceiveActionRequest.ProtoReflect.Descriptor instead.
func (*ServerReceiveActionRequest) GetEndpointName ¶
func (x *ServerReceiveActionRequest) GetEndpointName() string
func (*ServerReceiveActionRequest) GetHeaders ¶
func (x *ServerReceiveActionRequest) GetHeaders() map[string]string
func (*ServerReceiveActionRequest) GetMethod ¶
func (x *ServerReceiveActionRequest) GetMethod() string
func (*ServerReceiveActionRequest) GetName ¶
func (x *ServerReceiveActionRequest) GetName() string
func (*ServerReceiveActionRequest) GetPath ¶
func (x *ServerReceiveActionRequest) GetPath() []string
func (*ServerReceiveActionRequest) GetPayload ¶
func (x *ServerReceiveActionRequest) GetPayload() string
func (*ServerReceiveActionRequest) GetPayloadType ¶
func (x *ServerReceiveActionRequest) GetPayloadType() PayloadType
func (*ServerReceiveActionRequest) GetQueryParams ¶
func (x *ServerReceiveActionRequest) GetQueryParams() map[string]*StringsList
func (*ServerReceiveActionRequest) GetUrl ¶
func (x *ServerReceiveActionRequest) GetUrl() string
func (*ServerReceiveActionRequest) ProtoMessage ¶
func (*ServerReceiveActionRequest) ProtoMessage()
func (*ServerReceiveActionRequest) ProtoReflect ¶
func (x *ServerReceiveActionRequest) ProtoReflect() protoreflect.Message
func (*ServerReceiveActionRequest) Reset ¶
func (x *ServerReceiveActionRequest) Reset()
func (*ServerReceiveActionRequest) String ¶
func (x *ServerReceiveActionRequest) String() string
type ServerReceiveActionResponse ¶
type ServerReceiveActionResponse struct { Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*ServerReceiveActionResponse) Descriptor
deprecated
func (*ServerReceiveActionResponse) Descriptor() ([]byte, []int)
Deprecated: Use ServerReceiveActionResponse.ProtoReflect.Descriptor instead.
func (*ServerReceiveActionResponse) GetError ¶
func (x *ServerReceiveActionResponse) GetError() string
func (*ServerReceiveActionResponse) ProtoMessage ¶
func (*ServerReceiveActionResponse) ProtoMessage()
func (*ServerReceiveActionResponse) ProtoReflect ¶
func (x *ServerReceiveActionResponse) ProtoReflect() protoreflect.Message
func (*ServerReceiveActionResponse) Reset ¶
func (x *ServerReceiveActionResponse) Reset()
func (*ServerReceiveActionResponse) String ¶
func (x *ServerReceiveActionResponse) String() string
type ServerSendActionRequest ¶
type ServerSendActionRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` StatusCode int32 `protobuf:"varint,2,opt,name=statusCode,proto3" json:"statusCode,omitempty"` Headers map[string]string `` /* 155-byte string literal not displayed */ Payload string `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"` EndpointName string `protobuf:"bytes,5,opt,name=endpointName,proto3" json:"endpointName,omitempty"` // contains filtered or unexported fields }
func (*ServerSendActionRequest) Descriptor
deprecated
func (*ServerSendActionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ServerSendActionRequest.ProtoReflect.Descriptor instead.
func (*ServerSendActionRequest) GetEndpointName ¶
func (x *ServerSendActionRequest) GetEndpointName() string
func (*ServerSendActionRequest) GetHeaders ¶
func (x *ServerSendActionRequest) GetHeaders() map[string]string
func (*ServerSendActionRequest) GetName ¶
func (x *ServerSendActionRequest) GetName() string
func (*ServerSendActionRequest) GetPayload ¶
func (x *ServerSendActionRequest) GetPayload() string
func (*ServerSendActionRequest) GetStatusCode ¶
func (x *ServerSendActionRequest) GetStatusCode() int32
func (*ServerSendActionRequest) ProtoMessage ¶
func (*ServerSendActionRequest) ProtoMessage()
func (*ServerSendActionRequest) ProtoReflect ¶
func (x *ServerSendActionRequest) ProtoReflect() protoreflect.Message
func (*ServerSendActionRequest) Reset ¶
func (x *ServerSendActionRequest) Reset()
func (*ServerSendActionRequest) String ¶
func (x *ServerSendActionRequest) String() string
type ServerSendActionResponse ¶
type ServerSendActionResponse struct { Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*ServerSendActionResponse) Descriptor
deprecated
func (*ServerSendActionResponse) Descriptor() ([]byte, []int)
Deprecated: Use ServerSendActionResponse.ProtoReflect.Descriptor instead.
func (*ServerSendActionResponse) GetError ¶
func (x *ServerSendActionResponse) GetError() string
func (*ServerSendActionResponse) ProtoMessage ¶
func (*ServerSendActionResponse) ProtoMessage()
func (*ServerSendActionResponse) ProtoReflect ¶
func (x *ServerSendActionResponse) ProtoReflect() protoreflect.Message
func (*ServerSendActionResponse) Reset ¶
func (x *ServerSendActionResponse) Reset()
func (*ServerSendActionResponse) String ¶
func (x *ServerSendActionResponse) String() string
type StringsList ¶
type StringsList struct { Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
func (*StringsList) Descriptor
deprecated
func (*StringsList) Descriptor() ([]byte, []int)
Deprecated: Use StringsList.ProtoReflect.Descriptor instead.
func (*StringsList) GetValues ¶
func (x *StringsList) GetValues() []string
func (*StringsList) ProtoMessage ¶
func (*StringsList) ProtoMessage()
func (*StringsList) ProtoReflect ¶
func (x *StringsList) ProtoReflect() protoreflect.Message
func (*StringsList) Reset ¶
func (x *StringsList) Reset()
func (*StringsList) String ¶
func (x *StringsList) String() string
type UnimplementedHttpApiServer ¶
type UnimplementedHttpApiServer struct { }
UnimplementedHttpApiServer must be embedded to have forward compatible implementations.
func (UnimplementedHttpApiServer) ClientReceiveAction ¶
func (UnimplementedHttpApiServer) ClientReceiveAction(context.Context, *ClientReceiveActionRequest) (*ClientReceiveActionResponse, error)
func (UnimplementedHttpApiServer) ClientSendAction ¶
func (UnimplementedHttpApiServer) ClientSendAction(context.Context, *ClientSendActionRequest) (*ClientSendActionResponse, error)
func (UnimplementedHttpApiServer) InitClientEndpoint ¶
func (UnimplementedHttpApiServer) InitClientEndpoint(context.Context, *InitClientRequest) (*InitClientResponse, error)
func (UnimplementedHttpApiServer) InitServerEndpoint ¶
func (UnimplementedHttpApiServer) InitServerEndpoint(context.Context, *InitServerRequest) (*InitServerResponse, error)
func (UnimplementedHttpApiServer) ServerReceiveAction ¶
func (UnimplementedHttpApiServer) ServerReceiveAction(context.Context, *ServerReceiveActionRequest) (*ServerReceiveActionResponse, error)
func (UnimplementedHttpApiServer) ServerSendAction ¶
func (UnimplementedHttpApiServer) ServerSendAction(context.Context, *ServerSendActionRequest) (*ServerSendActionResponse, error)
type UnsafeHttpApiServer ¶
type UnsafeHttpApiServer interface {
// contains filtered or unexported methods
}
UnsafeHttpApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HttpApiServer will result in compilation errors.