Documentation ¶
Index ¶
- type Runtime
- func (r *Runtime) Create(ctx context.Context, req *pb.CreateRequest, rsp *pb.CreateResponse) error
- func (r *Runtime) Delete(ctx context.Context, req *pb.DeleteRequest, rsp *pb.DeleteResponse) error
- func (r *Runtime) List(ctx context.Context, req *pb.ListRequest, rsp *pb.ListResponse) error
- func (r *Runtime) Read(ctx context.Context, req *pb.ReadRequest, rsp *pb.ReadResponse) error
- func (r *Runtime) Update(ctx context.Context, req *pb.UpdateRequest, rsp *pb.UpdateResponse) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runtime ¶
type Runtime struct { // The runtime used to manage services Runtime runtime.Runtime // The store used to find out what to run Store store.Store // The client used to publish events Client micro.Publisher }
func (*Runtime) Create ¶
func (r *Runtime) Create(ctx context.Context, req *pb.CreateRequest, rsp *pb.CreateResponse) error
func (*Runtime) Delete ¶
func (r *Runtime) Delete(ctx context.Context, req *pb.DeleteRequest, rsp *pb.DeleteResponse) error
func (*Runtime) List ¶
func (r *Runtime) List(ctx context.Context, req *pb.ListRequest, rsp *pb.ListResponse) error
func (*Runtime) Read ¶
func (r *Runtime) Read(ctx context.Context, req *pb.ReadRequest, rsp *pb.ReadResponse) error
func (*Runtime) Update ¶
func (r *Runtime) Update(ctx context.Context, req *pb.UpdateRequest, rsp *pb.UpdateResponse) error
Click to show internal directories.
Click to hide internal directories.