Documentation
¶
Index ¶
- type Backend
- func (s *Backend) Create(req cosmostypes.Request, msg *msgCreateProcess) (*process.Process, error)
- func (s *Backend) Delete(req cosmostypes.Request, msg *msgDeleteProcess) error
- func (s *Backend) Get(req cosmostypes.Request, hash hash.Hash) (*process.Process, error)
- func (s *Backend) List(req cosmostypes.Request) ([]*process.Process, error)
- type SDK
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶ added in v0.18.0
type Backend struct {
// contains filtered or unexported fields
}
Backend is the service backend.
func NewBackend ¶ added in v0.18.0
func NewBackend(appFactory *cosmos.AppFactory, ownership *ownershipsdk.Backend, instance *instancesdk.Backend) *Backend
NewBackend returns the backend of the service sdk.
func (*Backend) Delete ¶ added in v0.18.0
func (s *Backend) Delete(req cosmostypes.Request, msg *msgDeleteProcess) error
Delete deletes a process and realated ownership.
type SDK ¶ added in v0.18.0
type SDK struct {
// contains filtered or unexported fields
}
SDK is the process sdk.
func (*SDK) Delete ¶ added in v0.18.0
func (s *SDK) Delete(req *api.DeleteProcessRequest) error
Delete deletes the process by hash.
Click to show internal directories.
Click to hide internal directories.