Documentation ¶
Index ¶
- type Controller
- func (c Controller) CreateRecord(ctx context.Context, req *api.ControllerCreateRecordReq) (*api.ControllerCreateRecordResp, error)
- func (c Controller) DeleteRecord(ctx context.Context, req *api.ControllerDeleteRecordReq) (*api.ControllerDeleteRecordResp, error)
- func (c Controller) GetRecord(ctx context.Context, req *api.ControllerGetRecordReq) (*api.ControllerGetRecordResp, error)
- func (c Controller) Start() error
- func (c Controller) Status(ctx context.Context, req *api.ControllerHealthReq) (*api.ControllerHealthResp, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { api.UnimplementedControllerServer // contains filtered or unexported fields }
func (Controller) CreateRecord ¶
func (c Controller) CreateRecord(ctx context.Context, req *api.ControllerCreateRecordReq) (*api.ControllerCreateRecordResp, error)
func (Controller) DeleteRecord ¶
func (c Controller) DeleteRecord(ctx context.Context, req *api.ControllerDeleteRecordReq) (*api.ControllerDeleteRecordResp, error)
func (Controller) GetRecord ¶
func (c Controller) GetRecord(ctx context.Context, req *api.ControllerGetRecordReq) (*api.ControllerGetRecordResp, error)
func (Controller) Start ¶
func (c Controller) Start() error
func (Controller) Status ¶
func (c Controller) Status(ctx context.Context, req *api.ControllerHealthReq) (*api.ControllerHealthResp, error)
Click to show internal directories.
Click to hide internal directories.