Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterLayoutV1HTTPServer(s *http.Server, srv LayoutV1HTTPServer)
- func RegisterLayoutV1Server(s grpc.ServiceRegistrar, srv LayoutV1Server)
- type ChainBotWebHookReply
- func (*ChainBotWebHookReply) Descriptor() ([]byte, []int)deprecated
- func (*ChainBotWebHookReply) ProtoMessage()
- func (x *ChainBotWebHookReply) ProtoReflect() protoreflect.Message
- func (x *ChainBotWebHookReply) Reset()
- func (x *ChainBotWebHookReply) String() string
- func (m *ChainBotWebHookReply) Validate() error
- func (m *ChainBotWebHookReply) ValidateAll() error
- type ChainBotWebHookReplyMultiError
- type ChainBotWebHookReplyValidationError
- func (e ChainBotWebHookReplyValidationError) Cause() error
- func (e ChainBotWebHookReplyValidationError) Error() string
- func (e ChainBotWebHookReplyValidationError) ErrorName() string
- func (e ChainBotWebHookReplyValidationError) Field() string
- func (e ChainBotWebHookReplyValidationError) Key() bool
- func (e ChainBotWebHookReplyValidationError) Reason() string
- type ChainBotWebHookRequest
- func (*ChainBotWebHookRequest) Descriptor() ([]byte, []int)deprecated
- func (*ChainBotWebHookRequest) ProtoMessage()
- func (x *ChainBotWebHookRequest) ProtoReflect() protoreflect.Message
- func (x *ChainBotWebHookRequest) Reset()
- func (x *ChainBotWebHookRequest) String() string
- func (m *ChainBotWebHookRequest) Validate() error
- func (m *ChainBotWebHookRequest) ValidateAll() error
- type ChainBotWebHookRequestMultiError
- type ChainBotWebHookRequestValidationError
- func (e ChainBotWebHookRequestValidationError) Cause() error
- func (e ChainBotWebHookRequestValidationError) Error() string
- func (e ChainBotWebHookRequestValidationError) ErrorName() string
- func (e ChainBotWebHookRequestValidationError) Field() string
- func (e ChainBotWebHookRequestValidationError) Key() bool
- func (e ChainBotWebHookRequestValidationError) Reason() string
- type LayoutV1Client
- type LayoutV1HTTPClient
- type LayoutV1HTTPClientImpl
- type LayoutV1HTTPServer
- type LayoutV1Server
- type UnimplementedLayoutV1Server
- type UnsafeLayoutV1Server
Constants ¶
const OperationLayoutV1ChainBotWebHook = "/api.helloworld.v1.LayoutV1/ChainBotWebHook"
Variables ¶
var File_api_helloworld_v1_api_proto protoreflect.FileDescriptor
var LayoutV1_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.helloworld.v1.LayoutV1", HandlerType: (*LayoutV1Server)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ChainBotWebHook", Handler: _LayoutV1_ChainBotWebHook_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/helloworld/v1/api.proto", }
LayoutV1_ServiceDesc is the grpc.ServiceDesc for LayoutV1 service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterLayoutV1HTTPServer ¶
func RegisterLayoutV1HTTPServer(s *http.Server, srv LayoutV1HTTPServer)
func RegisterLayoutV1Server ¶
func RegisterLayoutV1Server(s grpc.ServiceRegistrar, srv LayoutV1Server)
Types ¶
type ChainBotWebHookReply ¶
type ChainBotWebHookReply struct {
// contains filtered or unexported fields
}
func (*ChainBotWebHookReply) Descriptor
deprecated
func (*ChainBotWebHookReply) Descriptor() ([]byte, []int)
Deprecated: Use ChainBotWebHookReply.ProtoReflect.Descriptor instead.
func (*ChainBotWebHookReply) ProtoMessage ¶
func (*ChainBotWebHookReply) ProtoMessage()
func (*ChainBotWebHookReply) ProtoReflect ¶
func (x *ChainBotWebHookReply) ProtoReflect() protoreflect.Message
func (*ChainBotWebHookReply) Reset ¶
func (x *ChainBotWebHookReply) Reset()
func (*ChainBotWebHookReply) String ¶
func (x *ChainBotWebHookReply) String() string
func (*ChainBotWebHookReply) Validate ¶
func (m *ChainBotWebHookReply) Validate() error
Validate checks the field values on ChainBotWebHookReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ChainBotWebHookReply) ValidateAll ¶
func (m *ChainBotWebHookReply) ValidateAll() error
ValidateAll checks the field values on ChainBotWebHookReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ChainBotWebHookReplyMultiError, or nil if none found.
type ChainBotWebHookReplyMultiError ¶
type ChainBotWebHookReplyMultiError []error
ChainBotWebHookReplyMultiError is an error wrapping multiple validation errors returned by ChainBotWebHookReply.ValidateAll() if the designated constraints aren't met.
func (ChainBotWebHookReplyMultiError) AllErrors ¶
func (m ChainBotWebHookReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ChainBotWebHookReplyMultiError) Error ¶
func (m ChainBotWebHookReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ChainBotWebHookReplyValidationError ¶
type ChainBotWebHookReplyValidationError struct {
// contains filtered or unexported fields
}
ChainBotWebHookReplyValidationError is the validation error returned by ChainBotWebHookReply.Validate if the designated constraints aren't met.
func (ChainBotWebHookReplyValidationError) Cause ¶
func (e ChainBotWebHookReplyValidationError) Cause() error
Cause function returns cause value.
func (ChainBotWebHookReplyValidationError) Error ¶
func (e ChainBotWebHookReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ChainBotWebHookReplyValidationError) ErrorName ¶
func (e ChainBotWebHookReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ChainBotWebHookReplyValidationError) Field ¶
func (e ChainBotWebHookReplyValidationError) Field() string
Field function returns field value.
func (ChainBotWebHookReplyValidationError) Key ¶
func (e ChainBotWebHookReplyValidationError) Key() bool
Key function returns key value.
func (ChainBotWebHookReplyValidationError) Reason ¶
func (e ChainBotWebHookReplyValidationError) Reason() string
Reason function returns reason value.
type ChainBotWebHookRequest ¶
type ChainBotWebHookRequest struct {
// contains filtered or unexported fields
}
func (*ChainBotWebHookRequest) Descriptor
deprecated
func (*ChainBotWebHookRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChainBotWebHookRequest.ProtoReflect.Descriptor instead.
func (*ChainBotWebHookRequest) ProtoMessage ¶
func (*ChainBotWebHookRequest) ProtoMessage()
func (*ChainBotWebHookRequest) ProtoReflect ¶
func (x *ChainBotWebHookRequest) ProtoReflect() protoreflect.Message
func (*ChainBotWebHookRequest) Reset ¶
func (x *ChainBotWebHookRequest) Reset()
func (*ChainBotWebHookRequest) String ¶
func (x *ChainBotWebHookRequest) String() string
func (*ChainBotWebHookRequest) Validate ¶
func (m *ChainBotWebHookRequest) Validate() error
Validate checks the field values on ChainBotWebHookRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ChainBotWebHookRequest) ValidateAll ¶
func (m *ChainBotWebHookRequest) ValidateAll() error
ValidateAll checks the field values on ChainBotWebHookRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ChainBotWebHookRequestMultiError, or nil if none found.
type ChainBotWebHookRequestMultiError ¶
type ChainBotWebHookRequestMultiError []error
ChainBotWebHookRequestMultiError is an error wrapping multiple validation errors returned by ChainBotWebHookRequest.ValidateAll() if the designated constraints aren't met.
func (ChainBotWebHookRequestMultiError) AllErrors ¶
func (m ChainBotWebHookRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ChainBotWebHookRequestMultiError) Error ¶
func (m ChainBotWebHookRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ChainBotWebHookRequestValidationError ¶
type ChainBotWebHookRequestValidationError struct {
// contains filtered or unexported fields
}
ChainBotWebHookRequestValidationError is the validation error returned by ChainBotWebHookRequest.Validate if the designated constraints aren't met.
func (ChainBotWebHookRequestValidationError) Cause ¶
func (e ChainBotWebHookRequestValidationError) Cause() error
Cause function returns cause value.
func (ChainBotWebHookRequestValidationError) Error ¶
func (e ChainBotWebHookRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ChainBotWebHookRequestValidationError) ErrorName ¶
func (e ChainBotWebHookRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ChainBotWebHookRequestValidationError) Field ¶
func (e ChainBotWebHookRequestValidationError) Field() string
Field function returns field value.
func (ChainBotWebHookRequestValidationError) Key ¶
func (e ChainBotWebHookRequestValidationError) Key() bool
Key function returns key value.
func (ChainBotWebHookRequestValidationError) Reason ¶
func (e ChainBotWebHookRequestValidationError) Reason() string
Reason function returns reason value.
type LayoutV1Client ¶
type LayoutV1Client interface {
ChainBotWebHook(ctx context.Context, in *ChainBotWebHookRequest, opts ...grpc.CallOption) (*ChainBotWebHookReply, error)
}
LayoutV1Client is the client API for LayoutV1 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 NewLayoutV1Client ¶
func NewLayoutV1Client(cc grpc.ClientConnInterface) LayoutV1Client
type LayoutV1HTTPClient ¶
type LayoutV1HTTPClient interface {
ChainBotWebHook(ctx context.Context, req *ChainBotWebHookRequest, opts ...http.CallOption) (rsp *ChainBotWebHookReply, err error)
}
func NewLayoutV1HTTPClient ¶
func NewLayoutV1HTTPClient(client *http.Client) LayoutV1HTTPClient
type LayoutV1HTTPClientImpl ¶
type LayoutV1HTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*LayoutV1HTTPClientImpl) ChainBotWebHook ¶
func (c *LayoutV1HTTPClientImpl) ChainBotWebHook(ctx context.Context, in *ChainBotWebHookRequest, opts ...http.CallOption) (*ChainBotWebHookReply, error)
type LayoutV1HTTPServer ¶
type LayoutV1HTTPServer interface {
ChainBotWebHook(context.Context, *ChainBotWebHookRequest) (*ChainBotWebHookReply, error)
}
type LayoutV1Server ¶
type LayoutV1Server interface { ChainBotWebHook(context.Context, *ChainBotWebHookRequest) (*ChainBotWebHookReply, error) // contains filtered or unexported methods }
LayoutV1Server is the server API for LayoutV1 service. All implementations must embed UnimplementedLayoutV1Server for forward compatibility
type UnimplementedLayoutV1Server ¶
type UnimplementedLayoutV1Server struct { }
UnimplementedLayoutV1Server must be embedded to have forward compatible implementations.
func (UnimplementedLayoutV1Server) ChainBotWebHook ¶
func (UnimplementedLayoutV1Server) ChainBotWebHook(context.Context, *ChainBotWebHookRequest) (*ChainBotWebHookReply, error)
type UnsafeLayoutV1Server ¶
type UnsafeLayoutV1Server interface {
// contains filtered or unexported methods
}
UnsafeLayoutV1Server may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LayoutV1Server will result in compilation errors.