(objName string, state string)
| 125 | } |
| 126 | |
| 127 | func (c *GRPCClient) UIObjAddState(objName string, state string) (bool, error) { |
| 128 | resp, err := c.client.UIObjAddState(context.Background(), &pb.UIObjAddStateRequest{ObjName: objName, State: state}) |
| 129 | if err != nil { |
| 130 | return false, err |
| 131 | } |
| 132 | return resp.Success, nil |
| 133 | } |
| 134 | |
| 135 | func (c *GRPCClient) UIObjClearState(objName string, state string) (bool, error) { |
| 136 | resp, err := c.client.UIObjClearState(context.Background(), &pb.UIObjClearStateRequest{ObjName: objName, State: state}) |
nothing calls this directly
no test coverage detected